Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 59664

Summary: Evolution 1.5.92.1 has hardcoded symlink libgnutls.so.10
Product: Gentoo Linux Reporter: Charles Goodwin <charlie>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: An strace output of evolution-1.5

Description Charles Goodwin 2004-08-06 21:44:09 UTC
I only had /usr/lib/libgnutls.so.11 on my system, and until I created a symlink (.so.10 -> .so.11) evolution was fubarred.

I only _just_ had emerged 1.5.92.1 so it wasn't a case of lib rot.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Charles Goodwin 2004-08-06 21:45:06 UTC
For the curious, this is the error I was getting when running from a term:

charlie@mightymax core $ evolution-1.5

(evolution-1.5:27008): evolution-shell-WARNING **: Cannot activate 'OAFIID:GNOME_Evolution_Mail_Component:1.5': g_module_open of `/usr/lib/evolution/1.5/components/libevolution-mail.so' failed with `libgnutls.so.10: cannot open shared object file: No such file or directory'


(evolution-1.5:27008): evolution-shell-WARNING **: Cannot activate 'OAFIID:GNOME_Evolution_Addressbook_Component:1.5': g_module_open of `/usr/lib/evolution/1.5/components/libevolution-addressbook.so' failed with `libgnutls.so.10: cannot open shared object file: No such file or directory'
Comment 2 Charles Goodwin 2004-08-06 21:48:58 UTC
Even with the symlinks, the address book doesn't seem to initialize.  It no longer gives an error, but there's nothing showing and trying to create a contact is fruitless.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-08-07 08:52:33 UTC
you sure there are no .la files with /usr/lib/libgnutls.so.10 around in your system?
Comment 4 Charles Goodwin 2004-08-07 10:44:16 UTC
How would I find that out?
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-08-07 18:06:01 UTC
 fgrep -r libgnutls /usr/lib/*.la
Comment 6 Charles Goodwin 2004-08-08 17:31:05 UTC
Nope, nothing.  I'll attach an strace where you can see something evolution is calling ('ldd evolution-1.5' doesn't show libgnutls.so.10) trying to poen libgnutls.so.10 - perhaps it'll give a hint as to what is doing it.

Next step is to go thru each of the ldd results and re-emerging the relevant packages. ;)

Anyway, below are the results of the fgrep:

root@mightymax ~ # fgrep -r libgnutls /usr/lib/*.la
fgrep: /usr/lib/libclanApp.la: No such file or directory
fgrep: /usr/lib/libclanCore.la: No such file or directory
fgrep: /usr/lib/libclanDisplay.la: No such file or directory
fgrep: /usr/lib/libclanGL.la: No such file or directory
fgrep: /usr/lib/libclanGUI.la: No such file or directory
fgrep: /usr/lib/libclanGUIStyleBoring.la: No such file or directory
fgrep: /usr/lib/libclanGUIStyleSilver.la: No such file or directory
fgrep: /usr/lib/libclanMikMod.la: No such file or directory
fgrep: /usr/lib/libclanNetwork.la: No such file or directory
fgrep: /usr/lib/libclanSignals.la: No such file or directory
fgrep: /usr/lib/libclanSound.la: No such file or directory
fgrep: /usr/lib/libclanVorbis.la: No such file or directory
/usr/lib/libegroupwise.la:dependency_libs=' /usr/lib/libgnome-2.la /usr/lib/libesd.la -L/usr/lib /usr/lib/libasound.la /usr/lib/libaudiofile.la /usr/lib/libgnomevfs-2.la /usr/lib/libgconf-2.la /usr/lib/libbonobo-2.la -lssl -lcrypto -lrt /usr/lib/libbonobo-activation.la /usr/lib/libORBitCosNaming-2.la /usr/lib/libORBit-2.la /usr/lib/libpopt.la /usr/lib/libgmodule-2.0.la -ldl /usr/lib/libsoup-2.2.la /usr/lib/libgobject-2.0.la /usr/lib/libgthread-2.0.la /usr/lib/libgnutls.la /usr/lib/libgcrypt.la -lnsl /usr/lib/libgpg-error.la /usr/lib/libxml2.la -lpthread -lz -lm /usr/lib/libglib-2.0.la'
/usr/lib/libgnutls-extra.la:# libgnutls-extra.la - a libtool library file
/usr/lib/libgnutls-extra.la:dlname='libgnutls-extra.so.11'
/usr/lib/libgnutls-extra.la:library_names='libgnutls-extra.so.11.1.17 libgnutls-extra.so.11 libgnutls-extra.so'
/usr/lib/libgnutls-extra.la:old_library='libgnutls-extra.a'
/usr/lib/libgnutls-extra.la:dependency_libs=' -L/usr/lib /usr/lib/libopencdk.la /usr/lib/libgcrypt.la /usr/lib/liblzo.la /usr/lib/libgnutls.la /usr/lib/libgcrypt.la -lnsl /usr/lib/libgpg-error.la -lz'
/usr/lib/libgnutls-extra.la:# Version information for libgnutls-extra.
/usr/lib/libgnutls-openssl.la:# libgnutls-openssl.la - a libtool library file
/usr/lib/libgnutls-openssl.la:dlname='libgnutls-openssl.so.11'
/usr/lib/libgnutls-openssl.la:library_names='libgnutls-openssl.so.11.1.17 libgnutls-openssl.so.11 libgnutls-openssl.so'
/usr/lib/libgnutls-openssl.la:old_library='libgnutls-openssl.a'
/usr/lib/libgnutls-openssl.la:dependency_libs=' /usr/lib/libgnutls.la /usr/lib/libgcrypt.la -lnsl /usr/lib/libgpg-error.la -lz'
/usr/lib/libgnutls-openssl.la:# Version information for libgnutls-openssl.
/usr/lib/libgnutls.la:# libgnutls.la - a libtool library file
/usr/lib/libgnutls.la:dlname='libgnutls.so.11'
/usr/lib/libgnutls.la:library_names='libgnutls.so.11.1.17 libgnutls.so.11 libgnutls.so'
/usr/lib/libgnutls.la:old_library='libgnutls.a'
/usr/lib/libgnutls.la:# Version information for libgnutls.
/usr/lib/libloudmouth-1.la:dependency_libs=' /usr/lib/libglib-2.0.la -L/usr/lib /usr/lib/libgnutls.la -lz /usr/lib/libgcrypt.la -lnsl /usr/lib/libgpg-error.la'
/usr/lib/libsoup-2.2.la:dependency_libs=' /usr/lib/libgobject-2.0.la /usr/lib/libgthread-2.0.la /usr/lib/libglib-2.0.la /usr/lib/libxml2.la -lpthread -lm -L/usr/lib /usr/lib/libgnutls.la -lz /usr/lib/libgcrypt.la -lnsl /usr/lib/libgpg-error.la'
Comment 7 Charles Goodwin 2004-08-08 17:34:54 UTC
Created attachment 37069 [details]
An strace output of evolution-1.5
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2004-08-08 19:08:17 UTC
the strace doesn't mean anything to me. but there's something in yoru system that depends on libgnutls.so.10, and it isn't evolution.

i've got 1.5.x running fine on my box and i only have:

liquidx@blueberry /usr/lib/evolution/1.5 $ ls -l /usr/lib/libgnutls.so*
lrwxrwxrwx  1 root root     20 Aug  4 18:18 /usr/lib/libgnutls.so -> libgnutls.so.11.1.17
lrwxrwxrwx  1 root root     20 Aug  4 18:18 /usr/lib/libgnutls.so.11 -> libgnutls.so.11.1.17
-rwxr-xr-x  1 root root 457760 Aug  4 18:18 /usr/lib/libgnutls.so.11.1.17
Comment 9 Charles Goodwin 2004-08-08 20:34:49 UTC
That's the same as my system.

Anyway, I decided a little spring cleaning was in order and removed a few duplicated packages and went for a revdep-rebuild, which I think shows the problem as libloudmouth:

broken /usr/lib/libloudmouth-1.so.0.0.0 (requires libgnutls.so.10)

The only other thing to complain 'bout libgnutls.so.10 was Gossip, and I'm 100% certain that Evolution does not use Gossip.

Anyway... rebuilding overnight.  I'll revisit this tomorrow.
Comment 10 Charles Goodwin 2004-08-09 10:44:31 UTC
Hah!  Now I'm suffering from Bug 59814 !!!

The answer to this problem was to 'revdep-rebuild'.  Don't know what that makes the bug resolution.
Comment 11 Olivier Crete (RETIRED) gentoo-dev 2004-08-13 07:18:48 UTC
revdep-rebuild was indeed the answer...