bug-guile
[Top][All Lists]
Advanced

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

Re: Can not work with libguile-2.0


From: Andy Wingo
Subject: Re: Can not work with libguile-2.0
Date: Fri, 18 Feb 2011 09:34:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi Mark, Bruno, and Fu-Gangqiang,

Fu-Gangqiang writes:

> 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

Bruno Haible first brought up the issues here:

  http://lists.gnu.org/archive/html/libtool/2001-11/msg00050.html

I don't know of a consensus for the solution, so I'm copying him on the
mail here.  Bruno, what should we recommend in the manual that users do
to link to Guile, and produce an executable that correctly finds
libguile when it is run?

Thanks in advance,

Andy
-- 
http://wingolog.org/



reply via email to

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