bug-guile
[Top][All Lists]
Advanced

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

Re:Re: Can not work with libguile-2.0


From: Fu-Gangqiang
Subject: Re:Re: Can not work with libguile-2.0
Date: Thu, 17 Feb 2011 21:40:19 +0800 (CST)

"Hans Aberg" <address@hidden> wrote:
>I use the flags
>  `guile-config compile`
>  `guile-config link`

I try to use guile-config, but have the same problem:
$ gcc -o simple-guile simple-guile.c  `guile-config compile` `guile-config link`
~/Test/scm $ ./simple-guile
./simple-guile: error while loading shared libraries: libguile-2.0.so.22: 
cannot open shared object file: No such file or directory

guile-config and pkg-config have the same effect
$ guile-config compile; guile-config link
-pthread -L/usr/local/lib -I/usr/local/include/guile/2.0  
-L/usr/local/lib -lguile-2.0 -lgc  
$ pkg-config --cflags --libs guile-2.0
-pthread -L/usr/local/lib -I/usr/local/include/guile/2.0  -L/usr/local/lib 
-lguile-2.0 -lgc



reply via email to

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