On 9/7/05, Thomas Rowe <[EMAIL PROTECTED]> wrote:
> Please let me know if this sort of low level question is inappropriate for
> this list.
> 
> I cannot seem to load extensions in the interpreter.  I have installed from
> source.
> 
> $ pwd
> /tmp/chicken-2.0
> $ ./configure && make && make install
> $ csi
> #;1> (use srfi-1)
> ; loading library srfi-1 ...
> Error: (load-library) unable to load library
> srfi-1
> "libchicken.so: cannot open shared object file: No such file or directory"
> #;1> (require 'srfi-1)
> ; loading library srfi-1 ...
> #;2> filter
> Error: unbound variable: filter
> 
> What is going on?  How am I supposed to load extensions?  Did I install
> incorrectly?  I'm using gcc version 3.3.5.  I compiled with no flags.

Is libchicken.so in your linker path? If you compile
a file that does `(use srfi-1)',  does that work?
What's the output of `ldd csi`.
Another option is to try this:

% LD_DEBUG=libs csi
(and perform a `(use srfi-1)')

Is this on a Linux system?


cheers,
felix


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

Reply via email to