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



Replying to myself: gthread seems to pull pthread in front of gpgme on 
RH8: /usr/lib/libgthread.la lists -lpthread as dependency_lib

What happens if you add the following line to libgpgme.la?

# Libraries that this one depends upon.
dependency_libs=' -lpthread'

Pawel

On 2003.04.01 18:13, Pawel Salek wrote:
> 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
> _______________________________________________
> balsa-list mailing list
> balsa-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/balsa-list
> 
-- 
Pawel Salek (pawsa(at)theochem.kth.se)
http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH



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