chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] how to use extensions in csi


From: felix winkelmann
Subject: Re: [Chicken-users] how to use extensions in csi
Date: Wed, 7 Sep 2005 12:02:04 +0200

On 9/7/05, Thomas Rowe <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]