Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202533 - Should x11-libs/gtk+ set LDPATH in /etc/env.d/50gtk2 ?
Summary: Should x11-libs/gtk+ set LDPATH in /etc/env.d/50gtk2 ?
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 202744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-16 23:58 UTC by John Hardin
Modified: 2007-12-22 05:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hardin 2007-12-16 23:58:04 UTC
I was getting regular "Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: 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 2.1.3.19 (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-apps/sandbox:    1.2.18.1-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
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.iso885915"
LC_ALL="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
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.