Aw: Re: gpg broken in balsa 2.0.10?



> I applied your patch succesfully, however ldd balsa still lists 
> libgpgme before libpthread.

Humm, yes, you're right... I just checked it with the SuSE 7.2 installation. After applying the patch, the libs are passed to libtool in the correct order:

/bin/sh ../libtool --mode=link gcc [...] -lpthread [...] -L/usr/local/lib -lgpgme [...]

but libtool calls gcc with a re-sorted list:

gcc [...] /usr/local/lib/libgpgme.so [...] -lpthread [...]

Linking manually (with the string fed into libtool) produces a working (apparently) binary. So, the questions to the gurus:

* why does libtool re-sort the linking order?
* how can we prevent this?

Cheers, Albrecht.









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