[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can not work with libguile-2.0
From: |
Hans Aberg |
Subject: |
Re: Can not work with libguile-2.0 |
Date: |
Thu, 17 Feb 2011 14:02:42 +0100 |
On 17 Feb 2011, at 13:02, Fu-Gangqiang wrote:
> I learn guile from manual,and I can not work with libguile and find some
> manual bugs.
> In manual section 2.3(Linking Guile into Programs)
>
> I follow the example,run it and have something wrong:
> ---->cut here<----
> $ gcc -o simple-guile simple-guile.c `pkg-config --cflags --libs guile-2.0`
> $ ./simple-guile
> ./simple-guile: error while loading shared libraries: libguile-2.0.so.22:
> cannot open shared object file: No such file or directory
> ---->cut here<----
> but I have libguile-2.0.so.22 installed in /usr/local/lib directroy
I use the flags
`guile-config compile`
`guile-config link`
Hans