I don't recall seeing a response here and someone else had the same
problem.  The "solution" is to set

DYLD_LIBRARY_PATH=~/scheme/chicken/lib

[or wherever your chicken libs are].  It seems that when the chicken
libraries are not installed in a standard search path such as
/usr/local/lib, dlopen will fail to find libchicken, even when the
chicken lib is properly dynamically linked into your program!

On 1/29/06, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On 1/29/06, Ashish Shrestha <[EMAIL PROTECTED]> wrote:

> > Version 2, Build 216 - macosx-unix-gnu-ppc - [ dload ptables ]
> > (c)2000-2005 Felix L. Winkelmann
> > #;1> (use posix)
> > ; loading library posix ...
> > Error: (load-library) unable to load library
> > posix
> > "dlopen(libchicken.dylib, 9): image not found"
> >
> >         Call history:
> >
> >         <eval>          (load-library (quote posix))    <--
> > #;1>
> >


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to