LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2009, 05:03 AM   #1
bloony
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 0
Emerge problems


When I try to run firefox I get the first message here, so I try to emerge whats missing and get the other error.. I also tried to emerge another package getting the same error.. Earlier I had a blockage with man-pages, so I removed the man-page package and did "emerge --update --deep --newuse world" "emerge --depclean" "revdev-rebuild" and I was able to emerge the blocked package.. I guess this messed it up, but how can I fix it now? I'm on gentoo.

/usr/lib/mozilla-firefox/firefox error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

------------------------------

Created "Makefile" in /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/buildusing "mt-frag"
gcc-config: error: could not run/locate 'gcc'
*** The command 'gcc -o conftest -Wl,-O1 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
*
* ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
* Call stack:
* ebuild.sh, line 48: Called src_compile
* environment, line 2829: Called econf '--enable-shared' '--with-system-zlib'
'--enable-languages=c++' '--enable-threads=posix' '--enable-long-long' '--disable-checking' '--enable-cstdio=stdio' '--enable-__cxa_atexit' '--disable-multilib' '--enable-nls' '--without-included-gettext'
* ebuild.sh, line 525: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-libslibstdc++-v3-3.3.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/environment'.
*

>>> Failed to emerge sys-libs/libstdc++-v3-3.3.6, Log file:

>>> '/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/build.log'

* Messages for package sys-libs/libstdc++-v3-3.3.6:

*
* ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
* Call stack:
* ebuild.sh, line 48: Called src_compile
* environment, line 2829: Called econf '--enable-shared' '--with-system-zlib' '--enable-languages=c++' '--enable-threads=posix' '--enable-long-long' '--disable-checking' '--enable-cstdio=stdio' '--enable-__cxa_atexit' '--disable-multilib' '--enable-nls' '--without-included-gettext'
* ebuild.sh, line 525: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-libs/libstdc++-v3-3.
3.6/temp/build.log'.
* The ebuild enviro
+-v3-3.3.6/temp/environment'.
*
loony@Teee ~ $
 
Old 06-05-2009, 05:23 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi Loony,
You need to install the libstdc++6 package. You don't mention which distro you're using but I guess it's gentoo (is that right?). Try emerging this package first and then do firefox. You may need to install many more packages but just look at the error messages and they should tell you which ones you're missing.
cheers,
jdk
 
Old 06-05-2009, 11:46 PM   #3
bloony
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jdkaye View Post
Hi Loony,
You need to install the libstdc++6 package. You don't mention which distro you're using but I guess it's gentoo (is that right?). Try emerging this package first and then do firefox. You may need to install many more packages but just look at the error messages and they should tell you which ones you're missing.
cheers,
jdk
But its libstdc++6 I'm trying to install when I get that long error message.. Gentoo yes.. as I wrote in my last post
 
Old 06-06-2009, 12:55 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by bloony View Post
But its libstdc++6 I'm trying to install when I get that long error message.. Gentoo yes.. as I wrote in my last post
Sorry, I missed that at the end of the paragraph. Anyway, did you check the build log at /var/tmp/portage/sys-libs/libstdc++-v3-3.
3.6/temp/build.log?
Any useful info?
cheers,
jdk
 
Old 06-06-2009, 01:10 AM   #5
bloony
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jdkaye View Post
Sorry, I missed that at the end of the paragraph. Anyway, did you check the build log at /var/tmp/portage/sys-libs/libstdc++-v3-3.
3.6/temp/build.log?
Any useful info?
cheers,
jdk
hehe, thats allright.. It doesnt say much more than the error msg it outputed.. not that I can see atleast.. I'll post it here:

Code:
>>> Unpacking source...
>>> Unpacking gcc-3.3.6-patches-1.6.tar.bz2 to /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work
>>> Unpacking gcc-3.3.6.tar.bz2 to /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work
 * Applying various patches (bugfixes/updates) ...
 *   00_all_alpha-mieee-default.patch ...
  [ ok ]
 *   00_all_gcc_unlink_if_ordinary.patch ...
  [ ok ]
 *   02_all_gcc33-ice-hack.patch ...
  [ ok ]
 *   10_all_gcc333-debian-arm-getoff.patch ...
  [ ok ]
 *   11_all_gcc333-debian-arm-ldm.patch ...
  [ ok ]
 *   12_all_gcc-3.3-arm-pr22528.patch ...
  [ ok ]
 *   12_all_gcc333_pre20040408-stack-size.patch ...
  [ ok ]
 *   15_all_gcc33-multi-os-directory.patch ...
  [ ok ]
 *   16_all_gcc-open-perms.patch ...
  [ ok ]
 *   17_all_gcc33-c99-numbers.patch ...
  [ ok ]
 *   19_all_gcc33-sched-ebb-cselib.patch ...
  [ ok ]
 *   21_all_gcc33-sparc-tls.patch ...
  [ ok ]
 *   25_all_gcc-3.3.3-libiberty-pic.patch ...
  [ ok ]
 *   25_all_gcc33-libstdc++-pic.patch ...
  [ ok ]
 *   26_all_gcc33-m68k-const.patch ...
  [ ok ]
 *   27_all_gcc33-m68k-java-build.patch ...
  [ ok ]
 *   28_all_gcc33-m68k-loop.patch ...
  [ ok ]
 *   29_all_gcc33-m68k-subreg.patch ...
  [ ok ]
 *   31_all_gcc331-pr495.patch ...
  [ ok ]
 *   34_all_gcc-3.3.5-ffecom_gfrt_basictype-prototype.patch ...
  [ ok ]
 *   35_all_gcc-3.3.5-no-COPYING-cross-compile.patch ...
  [ ok ]
 *   40_all_gcc33-warn-unused-result.patch ...
  [ ok ]
 *   46_all_gcc-3.3.6-pr18300.patch ...
  [ ok ]
 *   50_all_gcc33-coreutils-compat.patch ...
  [ ok ]
 *   54_all_pr10692-fix.patch ...
  [ ok ]
 *   55_all_pr14925.patch ...
  [ ok ]
 *   55_all_pr17684.patch ...
  [ ok ]
 *   56_all_pr18153.patch ...
  [ ok ]
 *   57_all_pr18380.patch ...
  [ ok ]
 *   58_all_pr18508.patch ...
  [ ok ]
 *   59_all_pr23241.patch ...
  [ ok ]
 *   60_all_loop.patch ...
  [ ok ]
 *   61_all_arm-bigendian.patch ...
  [ ok ]
 *   70_all_gcc33-make-whitespace.patch ...
  [ ok ]
 *   71_all_gcc33-gnu-string-prototypes.patch ...
  [ ok ]
 *   80_all_canadian-cross-spec-and-syslimits.patch ...
  [ ok ]
 *   83_all_gcc-3.x-larger-g77-file-limit.patch ...
  [ ok ]
 *   85_all_gcc-ca-translation-typo.patch ...
  [ ok ]
 *   85_all_gcc-es-translation-ICE-workaround.patch ...
  [ ok ]
 *   86_all_gcc-3.3-doxygen-filter-locale.patch ...
  [ ok ]
 *   88_all_gcc-3.3-make-SHELL.patch ...
  [ ok ]
 * Done with patching
 * Running elibtoolize in: gcc-3.3.6
 *   Applying install-sh-1.5.patch ...
 *   Applying ltmain-1.5.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying relink-1.4.0a-GCC3.0-2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying tmp-1.3.5.patch ...
 *   Applying as-needed-1.5.patch ...
 *   Applying uclibc-ltconf-1.3.0.patch ...
Touching gcc/configure...
Touching gcc/cstamp-h.in...
Touching gcc/config.in...
Touching boehm-gc/aclocal.m4...
Touching boehm-gc/Makefile.in...
Touching boehm-gc/configure...
Touching libjava/Makefile.in...
>>> Source unpacked in /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work
>>> Compiling source in /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6 ...
 * econf: updating gcc-3.3.6/boehm-gc/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gcc-3.3.6/boehm-gc/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gcc-3.3.6/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gcc-3.3.6/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gcc-3.3.6/gcc/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shared --with-system-zlib --enable-languages=c++ --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-__cxa_atexit --disable-multilib --enable-nls --without-included-gettext
*** This configuration is not supported in the following subdirectories:
     target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc
    (Any other directories should still work fine.)
Created "Makefile" in /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build using "mt-frag"
gcc-config: error: could not run/locate 'gcc'
*** The command 'gcc -o conftest   -Wl,-O1 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
 * 
 * ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2829:  Called econf '--enable-shared' '--with-system-zlib' '--enable-languages=c++' '--enable-threads=posix' '--enable-long-long' '--disable-checking' '--enable-cstdio=stdio' '--enable-__cxa_atexit' '--disable-multilib' '--enable-nls' '--without-included-gettext'
 *               ebuild.sh, line  525:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/environment'.
 *
 
Old 06-06-2009, 05:10 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
It doesnt say much more than the error msg it outputed.. not that I can see atleast..
Yes it does! Look at this.
Quote:
gcc-config: error: could not run/locate 'gcc'
*** The command 'gcc -o conftest -Wl,-O1 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
You don't appear to have a c-compiler installed. That would bugger things up. It that's correct maybe you need to install one.
cheers,
jdk
 
Old 06-06-2009, 11:45 PM   #7
bloony
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
I had to setup the gcc-config profile properly.. I guess when I did a revdep-rebuild it messed up something with the gcc config..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
python: can't open file 'emerge\bin\emerge.py' Virtuality Programming 5 01-30-2008 02:23 PM
problems with emerge in gentoo Eppo Linux - Software 1 02-24-2007 05:06 PM
emerge --emptytree system problems, gentoo problems!!! alamuru420123 Linux - Distributions 6 10-11-2005 11:48 PM
Problems using emerge on gentoo maxbolotin Linux - Software 1 11-30-2004 12:10 PM
Problems with emerge -p on gentoo aeruzcar Linux - Software 1 11-30-2004 01:31 AM


All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration