Re: Re: Re: gpg broken in balsa 2.0.10?



On 2003.04.01 17:18, albrecht.dress@arcor.de wrote:
> > libtool looks into *.la files (no, I do not like libtool) and uses
> > found information to alter the order, sometimes successfully,
> sometimes
> > not. Does libgpgme.la exists on your box? What does it contain?
> 
> See attached file. I moved it to /usr/lib to see if it changes
> anything, but it doesn't. I first thought that it's a
> mis-configuration of my box (SuSE 7.2 is really crap, and their Gnome
> 2 upgrade is widely broken), but now that other people have similar
> problems... Do you have any pointer where the re-sorting of libtool is
> described? A quick glance at the manual didn't help.
> 
> It seems to be possible to link balsa manually (not a real solution)
> or as a last resort to build it without threading (neither one). Maybe
> I should try to ask the gpgme people to add the possibility for a
> manuan mt initialisation. Arrgh!!!

My major problem is that I cannot reproduce these hangs.
1. on a RH9beta, the order is "wrong" (i.e. libc is dynamically linked 
before libpthread) but it apparently does not matter (probably due to 
the new thread library).

2. on RH8, the order is right. The linking order is:
/bin/sh ../libtool --mode=link gcc   ../libbalsa/libbalsa.a 
../libmutt/imap/libimap.a ../libmutt/libmutt.a 
../libinit_balsa/libinit_balsa.a -lltdl  -L/usr/X11R6/lib -lgnomeui-2 
-lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 
-lpangoft2-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation 
-lORBit-2 -llinc -lgthread-2.0 -lpthread -lgtkhtml-2 -lgtk-x11-2.0 
-lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0     -lgnomeprintui-2 -lgnomeprint-2 -lgnomecanvas-2 
-lbonobo-2 -lbonobo-activation -lORBit-2 -lxml2 -lz -llinc 
-lgthread-2.0 -lpthread -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   
-lssl -lcrypto -lldap -llber -lresolv -lpspell
-lgpgme -L/usr/lib -lxml2 -lz -lm -lesmtp -lpthread -lesmtp
gcc   ../libbalsa/libbalsa.a ../libmutt/imap/libimap.a 
../libmutt/libmutt.a ../libinit_balsa/libinit_balsa.a -L/usr/X11R6/lib 
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lgconf-2 -lgnomevfs-2 
-lgtkhtml-2 -lgnomeprintui-2 -lgnomeprint-2 -lgnomecanvas-2 -lbonobo-2 
-lbonobo-activation -lORBit-2 /usr/lib/liblinc.so -lgthread-2.0 
-lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0 -lldap -llber -lresolv /usr/lib/libpspell.so 
/usr/lib/libltdl.so 
-L/usr/src/build/141109-i386/BUILD/pspell-.12.2/modules/.libs 
/usr/lib/libpspell-modules.so -L/usr/lib/gcc-lib/i386-redhat-linux/3.2 
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../.. -lstdc++ -lgcc_s 
/usr/lib/libgpgme.so -L/usr/lib /usr/lib/libxml2.so -lz -lm -lpthread 
/usr/lib/libesmtp.so -lssl -lcrypto -ldl

...and this makes me really think: pthread listed at the end but it 
gets pulled in front (probably by other library). I will try to go 
through the list and find it out.

Pawel



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