Problem with libgnutls? Some GTK apps won't start. [Solved]

Discussions Regarding Software

Moderator: Moderators

Post Reply
Exospaciac
Simple Hen
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Problem with libgnutls? Some GTK apps won't start. [Solved]

Post by Exospaciac » Thu Apr 24, 2008 8:37

After updating my nVidia drivers to the latest beta (173.08) and restarting X, I noticed a few GTK-based programs just wouldn't start.
I have no idea how updating my nVidia drivers correlates to libgnutls, but whatever.
Firefox, ccsm, and Portato start okay, and all my KDE apps start fine, but others refuse to start.

Two that I know for certain do not work are emerald-theme-manager and nvidia-settings.

Here's the output I get when trying to run these apps in a terminal:

Code: Select all

[email protected] ~ $ emerald-theme-manager

(emerald-theme-manager:19573): Gtk-WARNING **: libgnutls.so.13: cannot open shared object file: No such file or directory

(emerald-theme-manager:19573): Gtk-WARNING **: libgnutls.so.13: cannot open shared object file: No such file or directory
Segmentation fault

Code: Select all

nvidia-settings

ERROR: The attribute 'ForceGenericCpu' specified on line 28 of configuration file '/home/mikey/.nvidia-settings-rc' cannot be assigned (it is a read-only
       attribute).


(nvidia-settings:19632): Gtk-WARNING **: libgnutls.so.13: cannot open shared object file: No such file or directory

(nvidia-settings:19632): Gtk-WARNING **: libgnutls.so.13: cannot open shared object file: No such file or directory
Segmentation fault
I tried recompiling libgnutls, but that helped nothing.

So, what's going on?

joost
Sagely Hen
Posts: 2676
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: Problem with libgnutls? Some GTK apps won't start.

Post by joost » Thu Apr 24, 2008 9:05

Maybe

Code: Select all

revdep-rebuild
helps?
Image
My blog | Twitter | Please support Sabayon: Image

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Re: Problem with libgnutls? Some GTK apps won't start.

Post by wolfden » Thu Apr 24, 2008 12:01

revdep-rebuild for sure, that will effect a lot of packages too, so don't be surprised to see 50+ packages to be rebuilt

Exospaciac
Simple Hen
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Problem with libgnutls? Some GTK apps won't start.

Post by Exospaciac » Thu Apr 24, 2008 17:22

Well I tried that but I found that my version of vorbis-tools wasn't in Portage any more.
So I tried to emerge the latest version and this happened:

Code: Select all

mkdir .libs
i586-pc-linux-gnu-gcc -O2 -Wall -ffast-math -fsigned-char -Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32 -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -o ogg123 audio.o buffer.o callbacks.o cfgfile_options.o cmdline_options.o file_transport.o format.o http_transport.o ogg123.o oggvorbis_format.o playlist.o status.o remote.o transport.o vorbis_comments.o flac_format.o easyflac.o speex_format.o  ../share/libutf8.a ../share/libgetopt.a /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so -L/usr/lib /usr/lib/libao.so /usr/lib/libcurl.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lnsl -ldl /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lz -lpthread /usr/lib/libOggFLAC.so /usr/lib/libFLAC.so /usr/lib/libogg.so /usr/lib/libspeex.so -lm
/usr/lib/gcc/i586-pc-linux-gnu/4.1.2/../../../../i586-pc-linux-gnu/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/libcurl.so, not found (try using -rpath or -rpath-link)
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
/usr/lib/libcurl.so: undefined reference to `[email protected]_1_3'
collect2: ld returned 1 exit status
make[2]: *** [ogg123] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Re: Problem with libgnutls? Some GTK apps won't start.

Post by wolfden » Fri Apr 25, 2008 2:58

You need to by synced via portage and layman first

Exospaciac
Simple Hen
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Problem with libgnutls? Some GTK apps won't start.

Post by Exospaciac » Fri Apr 25, 2008 5:17

I did an emerge --sync && layman -S before I even did the revdep-rebuild.
I ran it again just now to be sure that wasn't the problem and it still fails at the same point.

xlnagla
Sagely Hen
Posts: 1078
Joined: Mon May 28, 2007 2:44

Re: Problem with libgnutls? Some GTK apps won't start.

Post by xlnagla » Sat Apr 26, 2008 2:33

you're probably going to need to re-build curl, and maybe a few others.

As a side note....

something's not in portage anymore? That's a shame. check out my revdep-update script, but be warned you're probably going to have to work out a few things if you're still in 3.4f for most of the packages needing rebuild. May want to remove the ACCEPT_KEYWORDS="~x86" if your packages are old enough, they'll fail less often that way. the revdep-update script is in the sticky "revdep-rebuild woes?" in the portage and packaging forum.

~xlnagla

Exospaciac
Simple Hen
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Problem with libgnutls? Some GTK apps won't start.

Post by Exospaciac » Sun May 04, 2008 21:37

Oops. I forgot about this thread :/
revdep-rebuild did the trick. Thanks a bunch!

Post Reply