gnutls-devel
[Top][All Lists]
Advanced

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

Re: [gnutls-dev] Guile problems in 1.7.12


From: Ludovic Courtès
Subject: Re: [gnutls-dev] Guile problems in 1.7.12
Date: Mon, 11 Jun 2007 19:00:54 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

Simon Josefsson <address@hidden> 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.




reply via email to

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