[gnutls-dev] Guile problems in 1.7.12
Ludovic Courtès
ludo at chbouib.org
Mon Jun 11 19:00:54 CEST 2007
Hi,
Simon Josefsson <simon at josefsson.org> writes:
> It is related to -rpath problems... if I remove the installed copy of
> libgnutls, libgnutls-extra, it works. It seems to prefer to link
> $prefix/lib/libgnutls.so over $builddir/lib/.libs/libgnutls.so.
It appears to be already fixed here:
$ objdump -p .libs/libguile-gnutls{,-extra}-v-0.so | grep PATH
RPATH /home/ludo/src/gnutls/lib/.libs:/usr/local/lib
RPATH /home/ludo/src/gnutls/guile/src/.libs:/home/ludo/src/gnutls/lib/.libs:/home/ludo/src/gnutls/libextra/.libs:/usr/local/lib
$ objdump -p ../../libextra/.libs/libgnutls-extra.so | grep PATH
RPATH /home/ludo/src/gnutls/lib/.libs:/usr/local/lib
IOW, the `.libs' directories all appear _before_ `/usr/local/lib', which
is exactly what we want.
> I may have fixed it, by using *_LIBADD instead of *_LDFLAGS to specify
> the dependent libraries.
This shouldn't make any difference (I did try it also while chasing the
bug ;-)).
Thanks,
Ludovic.
More information about the Gnutls-devel
mailing list