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

Bug 202533

Summary: Should x11-libs/gtk+ set LDPATH in /etc/env.d/50gtk2 ?
Product: Gentoo Linux Reporter: John Hardin <jhardin>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Severity: normal CC: jakub, simon+bugzilla
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description John Hardin 2007-12-16 23:58:04 UTC
I was getting regular "Gtk-Message: Failed to load module "gnomebreakpad": cannot open shared object file" errors launching many apps, and re-emerging bug-buddy did nothing to help.

Adding "LDPATH=/usr/lib/gtk-2.0/modules" to /etc/env.d/50gtk2 and running env-update fixed the error messages. Should setting LDPATH be part of the default /etc/env.d/50gtk2 installed by the gtk+ ebuild?
Comment 1 Rémi Cardona gentoo-dev 2007-12-17 06:36:12 UTC
You shouldn't need to set it. There must be something wrong.

Please provide your emerge --info.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-17 07:22:43 UTC
Dupe of Bug 202302 (or the other way round). Also post app-emulation/emul-linux-x86-gtklibs version if you are on amd64.
Comment 3 John Hardin 2007-12-17 14:26:34 UTC
I am not on amd64. Bug 202302 may be a specific case of the general problem noted here (assuming there is a problem).

emerge --info:
Portage (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686)
System uname: 2.6.22-gentoo-r5 i686 AMD Athlon(tm) XP 2800+
Timestamp of tree: Sat, 15 Dec 2007 12:30:06 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
CFLAGS="-O2 -march=athlon-xp"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="3dnow 3dnowext X aac alsa amr apache2 aspnet aspnet2 aspnetedit berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl dbus divx dvd dvdr emboss enblend encode esd exif fam ffmpeg firefox flac fortran gdbm gif glut gnome gpm gstreamer gtk gtkhtml hal hardenedphp iconv imagemagick imlib isdnlog jabber java jpeg kde logrotate mad midi mikmod mmx mmxext mng mono mozilla mp3 mpeg msn mudflap mysql ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qt3 qt4 quicktime readline realmedia reflection samba sasl sdl session sift spell spl sqlite sse ssl svg syslog tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode utempter vhosts vmware voice vorbis win32codecs wmp x264 x86 xine xml xorg xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Comment 4 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-12-18 02:04:02 UTC
Also can you please provide the output of env? (more interestingly, env | grep GTK).
Comment 5 John Hardin 2007-12-18 02:14:07 UTC
> Also can you please provide the output of env? (more interestingly,
> env | grep GTK).

With or without the LDPATH fix installed?
Comment 6 Rémi Cardona gentoo-dev 2007-12-18 06:37:50 UTC
Both :)
Comment 7 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-12-19 02:16:12 UTC
*** Bug 202744 has been marked as a duplicate of this bug. ***
Comment 8 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-12-22 01:31:56 UTC
Marking as NEEDINFO as we cant reproduce this.
Comment 9 John Hardin 2007-12-22 05:09:13 UTC
Hrm. I fiddled around changing the environment to repro this and it appears that it is only a problem with some rather old gnome programs I still have floating around on my system. Current stuff isn't affected by it. I guess something old was getting run in my session startup and dumping it in my .gnomerc-errors file, and when I was troubleshooting I happened to pick one of the old programs to test with.

The shell environment doesn't affect it. If I add the gtk modules dir to the library path, the older programs stop complaining.

I think this is just a wierdness of my own system, after all. Closing.