Re: relinking makes libtool link to the wrong library

2008-01-11 Thread Simon Josefsson
FWIW, I have a theory that this may be caused by having -L/-l in LIBADD variables rather than in LDFLAGS variables. Since there are many instances of this in various nested levels in gnutls, it will take some time to see if this is indeed the problem. Do you think fixing this will solve the

Re: relinking makes libtool link to the wrong library

2008-01-11 Thread Simon Josefsson
Ralf Wildenhues [EMAIL PROTECTED] writes: Hello Simon, * Simon Josefsson wrote on Fri, Jan 11, 2008 at 03:20:44PM CET: Hi! We have received a bug report about some parts of recent gnutls (libgnutls-extra.so.26) incorrectly links to the libgnutls.so in /usr/lib/ rather than in $prefix, see

Re: relinking makes libtool link to the wrong library

2008-01-11 Thread Simon Josefsson
Ralf Wildenhues [EMAIL PROTECTED] writes: Hi Simon, 0) I forgot to ask: is this libtool 1.5.24? Yes. From debian testing. 1) ../lib/libgnutls.la has dependency_libs entry that contains -L/usr/lib and -L/usr/local/lib, both wrongly I think. Why is that? To find out, please send `libtool

Re: relinking makes libtool link to the wrong library

2008-01-11 Thread Ralf Wildenhues
Hi Simon, 0) I forgot to ask: is this libtool 1.5.24? 1) ../lib/libgnutls.la has dependency_libs entry that contains -L/usr/lib and -L/usr/local/lib, both wrongly I think. Why is that? To find out, please send `libtool --debug --mode=link' output (not relink) for the creation of

Re: relinking makes libtool link to the wrong library

2008-01-11 Thread Ralf Wildenhues
Hello Simon, * Simon Josefsson wrote on Fri, Jan 11, 2008 at 03:20:44PM CET: Hi! We have received a bug report about some parts of recent gnutls (libgnutls-extra.so.26) incorrectly links to the libgnutls.so in /usr/lib/ rather than in $prefix, see original report: To be able to analyze it,

relinking makes libtool link to the wrong library

2008-01-11 Thread Simon Josefsson
Hi! We have received a bug report about some parts of recent gnutls (libgnutls-extra.so.26) incorrectly links to the libgnutls.so in /usr/lib/ rather than in $prefix, see original report: http://lists.gnu.org/archive/html/gnutls-devel/2007-12/msg00038.html To understand how this works, GnuTLS

Re: relinking makes libtool link to the wrong library

2008-01-11 Thread Ralf Wildenhues
* Simon Josefsson wrote on Fri, Jan 11, 2008 at 04:47:44PM CET: Ralf Wildenhues [EMAIL PROTECTED] writes: 1) ../lib/libgnutls.la has dependency_libs entry that contains -L/usr/lib and -L/usr/local/lib, both wrongly I think. Why is that? To find out, please send `libtool --debug

Re: relinking makes libtool link to the wrong library

2008-01-11 Thread Roumen Petrov
Simon Josefsson wrote: Hi! We have received a bug report about some parts of recent gnutls (libgnutls-extra.so.26) incorrectly links to the libgnutls.so in /usr/lib/ rather than in $prefix, see original report: http://lists.gnu.org/archive/html/gnutls-devel/2007-12/msg00038.html To understand