After emerging emul-linux-x86-* and mozilla-firefox-bin, I can't get firefox to start. Here's what happens: $ firefox /opt/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory However, the following works: $ export LD_LIBRARY_PATH=/emul/linux/x86/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2 $ firefox which really shows that the library is there, but can't be found because it is not in a standard location. Maybe a link is missing? Because the following also solves the probleam: # cd /emul/linux/x86/usr/lib # ln -s gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 . # ln -s gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 . # ldconfig $ firefox [works normally] If those links where set up automatically by the emul-linux-x86-baselibs ebuild, the problem would be solved... is there any reason why it should not set up those links? Reproducible: Always Steps to Reproduce: 1. emerge emul-linux-x86-baselibs 2. emerge emul-linux-x86-xlibs 3. emerge emul-linux-x86-gtklibs 4. emerge mozilla-firefox-bin 5. try running 'firefox' Actual Results: $ firefox /opt/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Expected Results: Run browser normally without having to resort to LD_LIBRARY_PATH or creating links by hand in /emul/linux/x86/usr/lib Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 x86_64 12 Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg ldap libg++ libwww mikmod motif mozilla mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv zlib"
nope, amd64 needs to deal with this, not mozilla team
Please try to "etc-update" and then "env-update", as this LDPATH gets set by /etc/env.d/75emul-linux-x86-baselibs ...
No reply by reporter... Problem known to be solved a long time already. Bruno: If you still have problems, just reopen.
Created attachment 47935 [details] This is what I get when i try to run firefox-bin
I've a similar problem here Look at the attachment for firefox-bin output -------- Here's my emerge info: lavish@darkstar ~ $ emerge info Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64) ================================================================= System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 2 2004, 00:54:12)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://195.56.77.10/ http://194.149.10.102/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa avi bash-completion bitmap-fonts cddb cdr chroot codecs crypt ctype dvd dvdr f77 fam flac ftp gdbm gif glut gmail gpm gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad mikmod motif mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg4 multilib ncurses nls nowin nptl nptlonly ntlm nvidia oggvorbis opengl pam pdflib perl png python readline sdl slang ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xpm xv xvid zlib" -------- And versions of all my emul-libraries: * app-emulation/emul-linux-x86-baselibs Latest version available: 1.2.2-r1 Latest version installed: 1.2.2-r1 * app-emulation/emul-linux-x86-compat Latest version available: 1.0 Latest version installed: 1.0 * app-emulation/emul-linux-x86-glibc Latest version available: 1.1 Latest version installed: 1.1 * app-emulation/emul-linux-x86-gtklibs Latest version available: 1.2 Latest version installed: 1.2 * app-emulation/emul-linux-x86-mplayerlibs Latest version available: 1.0 Latest version installed: 1.0 * app-emulation/emul-linux-x86-nvidia Latest version available: 1.0.6629 Latest version installed: 1.0.6629 * app-emulation/emul-linux-x86-qtlibs Latest version available: 1.1 Latest version installed: 1.1 * app-emulation/emul-linux-x86-sdl Latest version available: 1.0 Latest version installed: 1.0 * app-emulation/emul-linux-x86-soundlibs Latest version available: 1.0-r1 Latest version installed: 1.0-r1 * app-emulation/emul-linux-x86-xlibs Latest version available: 1.2-r1 Latest version installed: 1.2-r1 -------- Cheers
REOPENED
I've just powered up my computer and now firefox-bin works... I tried to kill it and restart it from a term but it didn'y show up. So I restarted X server, opened a console and typed $ firefox-bin : same output of the attachment but the browser worked... I made some tests and what I can say is that it's a totally random thing. In any case when firefox doesn't "display anything" (there's no firefox window), the program seems to work on backgound... I've to kill it manually with something like $ killall firefox-bin I really don't know what to think... Cheers
please reopen if the problem persists
I'm having this same problem after a somewhat large emerge world. Doing: # export LD_LIBRARY_PATH=/usr/lib32/libstdc++-v3 # firefox-bin does fix it.