![](https://secure.gravatar.com/avatar/326b108ffcc42f27628703b0c11ed239.jpg?s=120&d=mm&r=g)
On 2006-jan-07, at 16:52, Frank Goenninger - PRION Consulting wrote:
We don't really search for the library ourselves. dlopen() takes care of that for us. It was just an example.
Ah. So, if you want to make dlopen() handle all searching, then you'd have to extend the respective environment variable with user- supplied search paths. Which brings us to ? Yes, platform-dependent putenv() calls or whatever the Lisp implementation's way is to set an env var. Or do I misunderstand still somethimng here?
Hmm, I'm not sure what you mean. What happens is that, if dlopen() can't find the library, we try finding it in one of the directories in the cffi:*foreign-library-directories* list. -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/ Equipa Portuguesa do Translation Project http://www.iro.umontreal.ca/translation/registry.cgi?team=pt