Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

libstdc++.s0.5: cannot open shared object file: No such file

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
26 posts
  • 1
  • 2
  • Next
Author
Message
xanphi
n00b
n00b
Posts: 5
Joined: Mon Feb 02, 2004 2:48 am
Location: upstairs

libstdc++.s0.5: cannot open shared object file: No such file

  • Quote

Post by xanphi » Mon Feb 02, 2004 3:44 am

Installing athlon stage 1 on a7m266d mobo, 2x1900mp. I got through installing X...... system locked up while I was attempting to emerge links. After a hard reboot almost anything I try results in the following error message:

/usr/bin/python: error while loading shared libraries: libstdc++.s0.5: cannot open shared object file: No such file or directory


any ideas as to whats wrong and how to fix?
help!
iwannanadabeanoobi
Top
azcoder
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 143
Joined: Wed Oct 08, 2003 3:47 am
Location: Scottsdale, Arizona

  • Quote

Post by azcoder » Mon Feb 02, 2004 4:23 am

in /usr/lib do a
ls libstd*.

See if you get a libstdc++.s0.5.

If not, you need to get one. I think it is part of the standard gcc build, so try: emerge gcc.

Good Luck :D
Top
xanphi
n00b
n00b
Posts: 5
Joined: Mon Feb 02, 2004 2:48 am
Location: upstairs

libstdc++.s0.5: cannot open shared object file: No such file

  • Quote

Post by xanphi » Tue Feb 03, 2004 4:33 am

Thanks for pointing me in the right direction.... I tried emerge gcc to get yet again "libstdc++.s0.5: cannot open shared object file: No such file" . So I started poking around on a couple of HD's with failed attempt of this install and found libstdc++.s0.5 and libstdc++.s0.5.0.3 which is what the previous points to (or visa versa) + libgcc_s.so.1, et al, which was also missing in a gcc temp build dir of some sort. After replacing these files emerge worked fine and I re-emerged gcc to be on the safe side. All seem well in Gentoo land. :lol:

thanks again
iwannanadabeanoobi
Top
mahir
l33t
l33t
User avatar
Posts: 725
Joined: Fri Dec 05, 2003 1:49 pm
Location: London
Contact:
Contact mahir
Website

i deleted ld.so.conf ---please help libstdc++.so.5

  • Quote

Post by mahir » Sat Feb 21, 2004 3:48 am

hi
please help

my topic says it all

i made a booboo


when i try emerge
i get this

Code: Select all

root@jt lib # emerge
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
anyideas?
"wa ma tawfiqi illah billah"
Mahir Sayar
Top
slestak
Tux's lil' helper
Tux's lil' helper
Posts: 115
Joined: Fri Jun 13, 2003 4:53 pm

  • Quote

Post by slestak » Sat Feb 21, 2004 3:51 am

type ldconfig, it'll take care of it.
Top
mahir
l33t
l33t
User avatar
Posts: 725
Joined: Fri Dec 05, 2003 1:49 pm
Location: London
Contact:
Contact mahir
Website

in reply

  • Quote

Post by mahir » Sat Feb 21, 2004 4:05 am

it does..

i type ldconfig
and i get the same error

i cant env-update
i cant man
i cant anything!
i cant emerge


what have i done!? :((
"wa ma tawfiqi illah billah"
Mahir Sayar
Top
slestak
Tux's lil' helper
Tux's lil' helper
Posts: 115
Joined: Fri Jun 13, 2003 4:53 pm

  • Quote

Post by slestak » Sun Feb 22, 2004 1:48 am

hmmm. that took care of my prob. same error as yours. head over to irc.freenode.net #gentoo and someone there may be able to help.
Top
tekM
n00b
n00b
Posts: 29
Joined: Wed Jun 25, 2003 6:48 pm
Location: Tucson, AZ

Yep its a problem...here is the fix

  • Quote

Post by tekM » Mon Feb 23, 2004 7:25 pm

Re: Python-2.3.3 erroring followed by not being able to emerge or do anything with Portage for that matter.......

nano -w /etc/env.d/05gcc

added at bottom of file...

LD_LIBRARY_PATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3"
(the last part is what you need to make sure says 3.3.3....it probably still reads your prior version)

then ran...

source /etc/profile

then...

LD_LIBRARY_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 env-update

That should fix your problem. :D
>tek<
Top
rdx
n00b
n00b
User avatar
Posts: 54
Joined: Thu Sep 05, 2002 11:36 am
Location: Switzerland
Contact:
Contact rdx
Website

  • Quote

Post by rdx » Wed Feb 25, 2004 11:29 pm

oh dear.. what a critical situation if you get this error and can't do anything ;) many many thanks for the solution, it saved us alot of time and nerves ;)

but anyway, portage should really care about issues of that kind.. it can't be that portage breaks the entire system this way.. it seems the hardened project is really necessary ;) it broke my mail server which depends on mysql..

well, everything's fine again, i'm happy ;) so what..
Top
UncleTom
Apprentice
Apprentice
Posts: 194
Joined: Wed Aug 20, 2003 12:51 pm
Location: Bern, Switzerland

  • Quote

Post by UncleTom » Thu Feb 26, 2004 2:28 pm

The fun never stops... If you also get the following error

Code: Select all

# gcc
Could not run/locate "gcc"
after applying tekM's solution, then see http://forums.gentoo.org/viewtopic.php?p=900846#900846 for the next steps.
bug, n: A son of a glitch.
Top
araemo
n00b
n00b
Posts: 49
Joined: Thu Aug 14, 2003 11:12 pm

Re: Yep its a problem...here is the fix

  • Quote

Post by araemo » Sat Feb 28, 2004 1:34 am

tekM wrote: LD_LIBRARY_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 env-update

That should fix your problem. :D

THANK YOU THANK YOU THANK YOU. I edited the files, as I found complete instructions for in other threads, ran ldconfig, sourced /etc/profile, (Which then prevented me from running env-update at all, it couldn't find it) and tried it again as root(instead of sudo).. still getting the same error running env-update. I didn't know enough about how shared libraries work to think of doing that myself. when the instructions are: 1: edit files to show 3.3.2 instead of 3.2.3, 2: ldconfig, 3: env-update.. and env-update errors with the same error as everything else.. well, yippee. :P
Top
cayenne
l33t
l33t
User avatar
Posts: 945
Joined: Thu Oct 17, 2002 3:50 am
Location: New Orleans

Help...

  • Quote

Post by cayenne » Sat Feb 28, 2004 9:45 pm

slestak wrote:type ldconfig, it'll take care of it.
I did this and got:

ldconfig
ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link

Not sure what this means...??

Should I still follow the editing parts of this thread?

Thanx,

cayenne
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Top
Buzz
n00b
n00b
Posts: 55
Joined: Fri Jul 19, 2002 3:13 pm

Re: Yep its a problem...here is the fix

  • Quote

Post by Buzz » Tue Mar 02, 2004 12:02 am

tekM wrote:Re: Python-2.3.3 erroring followed by not being able to emerge or do anything with Portage for that matter.......

nano -w /etc/env.d/05gcc
LD_LIBRARY_PATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3"
This almost worked for me, but still gave me problems. In the end it turned out that many of the other paths mentioned in this file were wrong.

My final file became:

Code: Select all

PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2"
LD_LIBRARY_PATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2"

The PATH, ROOTPATH, etc. all said the old values and needed to be changed as well...

thanx for the great post... saved me from major stress...

Buzz
Top
FishB8
l33t
l33t
User avatar
Posts: 820
Joined: Mon Mar 17, 2003 8:30 pm

  • Quote

Post by FishB8 » Wed Mar 17, 2004 6:55 am

I did this and got:

ldconfig
ldconfig: /usr/lib/libstdc++-libc6.1-1.so.2 is not a symbolic link

Not sure what this means...??
Try this and see if it fixes your problem:

Code: Select all

mv /usr/lib/libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++-libc6.1-1.so.2.OLD
ln -s /usr/lib/libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++-libc6.2-2.so.3
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Top
afreeman
n00b
n00b
Posts: 10
Joined: Thu Dec 19, 2002 2:14 am

  • Quote

Post by afreeman » Wed Mar 17, 2004 4:50 pm

Had the exact same problem: 'emerge -u portage' croaked on gawk with the same error as original poster.

After tweaking the recommendations here a bit (my paths were 3.3.2), everything works nicely.

Thanks for your help guys.
Top
Walmarde
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Mon Mar 17, 2003 11:31 pm
Location: Granby (Quebec)

  • Quote

Post by Walmarde » Fri Mar 19, 2004 1:57 am

I'd get the same f****** probleme and i finally fixed it ! thnx a lot guys !

but my prbleme was a little bit different

in /etc/env.d/05gcc i had to change all the version from :

PATH="/usr/i586-pc-linux-gnu/gcc-bin/3.2"
ROOTPATH="/usr/i586-pc-linux-gnu/gcc-bin/3.2"
MANPATH="/usr/share/gcc-data/i586-pc-linux-gnu/3.2/man"
INFOPATH="/usr/share/gcc-data/i586-pc-linux-gnu/3.2/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3"
LD_LIBRARY_PATH="/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3/"

to :

PATH="/usr/i586-pc-linux-gnu/gcc-bin/3.3"
ROOTPATH="/usr/i586-pc-linux-gnu/gcc-bin/3.3"
MANPATH="/usr/share/gcc-data/i586-pc-linux-gnu/3.3/man"
INFOPATH="/usr/share/gcc-data/i586-pc-linux-gnu/3.3/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2"
LD_LIBRARY_PATH="/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2/"

after that i had to do:

source /etc/profile

and

LD_LIBRARY_PATH=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2 env-update


Everything works fine for me now
Naturally, the common people don't want war, it is always a simple matter to drag people. All you have to do is to tell them they are being attacked and denounce the pacifist for lack of patriotism and exposing the country to danger. -Hermann Goering-
Top
WebSel
n00b
n00b
Posts: 7
Joined: Fri Apr 09, 2004 12:56 pm
Location: Maarn, The Netherlands

  • Quote

Post by WebSel » Fri Apr 09, 2004 1:05 pm

Ok, I've just updated portage and ran into the same problem.
It didn't work for me what was written, i did the changes anyway!

The last step i needed was:
edditing the /etc/ld.so.conf
Change the lines into:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2
or for intell:
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2

Now run ldconfig
Now env-update is working, now run env-update, check the file again as it is changed by env-update if it still reads the correct values.
If it is changed back you need to change more in the /etc/env.d directory to the correct path.

Wessel de Roode
Top
WebSel
n00b
n00b
Posts: 7
Joined: Fri Apr 09, 2004 12:56 pm
Location: Maarn, The Netherlands

  • Quote

Post by WebSel » Fri Apr 09, 2004 1:27 pm

Ok here a proper and clear way about fixing this problem on a pentium server.

Action done:

Code: Select all

# emerge -U portage
This results finaly in the following error:

Code: Select all

Could not run/locate "gcc"
make[1]: *** [fascist.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/cracklib-2.7-r8/work/cracklib,2.7/cracklib'
make: *** [all] Error 2

!!! ERROR: sys-libs/cracklib-2.7-r8 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
try this:

Code: Select all

# emerge --help
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
This mean's your library path is screwed because of an update of the compiler libraries. There is now way to fix this as env-update isn't working either.

Now let's have a look at this. Start off where the libraries paths's are kept:

Code: Select all

keystone root # cat /etc/ld.so.conf 
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
Now let's check this out if the 3.2.3 directory really excists.

Code: Select all

# ls -sla /usr/lib/gcc-lib/i686-pc-linux-gnu/
total 4
   1 drwxr-xr-x    3 root     root           72 Apr  9 12:24 .
   1 drwxr-xr-x    3 root     root           88 Sep 12  2003 ..
   3 drwxr-xr-x    5 root     root         2160 Apr  9 12:24 3.3.2
Nope it's a typo, ok great let's fix this so we can use env-update again. we do this by changing the path into the correct path.

Code: Select all

# nano /etc/ld.so.conf 
Ok change the line of:

Code: Select all

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
into

Code: Select all

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2
Save the file, and run ldconfig

Code: Select all

# ldconfig
Ok test it with for example:

Code: Select all

# emerge --version
No more :/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
errors? GOOD! :D
Now fix it for real so that env-update will do it's work correct. You need to edit the /etc/env.d/05gcc file and correct all the path's into 3.3
Old:

Code: Select all

PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.2"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.2"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3"
New:

Code: Select all

PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2"
After saving the file run the env-update command and for a final check check the /etc/ld.so.conf file if the path's are still correct and now run
emerge -U portage again to finish the job.

Wessel de Roode
Top
Muddy
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 144
Joined: Thu Jan 02, 2003 5:41 pm
Location: U.S.
Contact:
Contact Muddy
Website

  • Quote

Post by Muddy » Sun Apr 11, 2004 3:14 pm

I was receiving this

Code: Select all

# emerge -U perl 
python2.2: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
After being a bonehead rebooted my server (forgetting was running an "emerge -U portage")

So I had to do a

Code: Select all

nano -w /etc/ld.c
and add the following

Code: Select all

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/
Now it's still screwed up but this problem is solved.
Top
L1A
n00b
n00b
Posts: 8
Joined: Sat Mar 27, 2004 5:20 pm

  • Quote

Post by L1A » Sun Apr 18, 2004 5:53 am

As you have guessed by now your version of gcc has changed and screwed everything up. And its a sneaky change 3.2.3 to 3.3.2 so it looks like a typo.
After reading the first few comments in ld.so.conf I did some poking around.
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory

So I edited 2 files.
/etc/env.d/05gcc
/etc/env.d/gcc/config
And updated everything that had a 3.2.3 to the new value of 3.3.2
NOW you can run env-update and ldconfig.
And everything should work.
But I also hang garlic over the computer.

Mike S
Top
starachna
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Thu Apr 17, 2003 12:28 pm
Location: south africa
Contact:
Contact starachna
Website

yipppeee

  • Quote

Post by starachna » Sat May 08, 2004 1:23 pm

thank you very much to the boffins in here, you guys helped me a great deal! have a super day!
http://www.3am.co.za - za psy trance
Top
jonaswidarsson
Apprentice
Apprentice
User avatar
Posts: 273
Joined: Fri Jan 16, 2004 10:39 am
Location: Göteborg, Sweden

  • Quote

Post by jonaswidarsson » Wed Mar 16, 2005 2:58 pm

Hello!
Reviving old thread.

I emerged gcc-3.3.5-r1 and had gcc-3.3.2-r5 before.
It broke nearly everything I think :(

I followed many advice from this thread and didn't fully succeed, but the system is "kind of" usable again.

I can't start new KDE applications so I am a little scared of a reboot.

Here it is:

I emerged gcc and immediately had problems with libstdc++.so.5 missing.
None of the above suggestion solved it so I made a symlink
/usr/lib/libstdc++.so.5 -> libstdc++.so.2.8.0

Now I can use portage without errors it seems, but KDE will not start new applications. I try kontact...

Code: Select all

jonas@jw jonas $ kontact
kontact: /usr/X11R6/lib/libstdc++.so.5: no version information available (required by kontact)
kontact: /usr/X11R6/lib/libstdc++.so.5: no version information available (required by kontact)
kontact: /usr/X11R6/lib/libstdc++.so.5: no version information available (required by /usr/kde/3.4/lib/libkdepim.so.1)
kontact: /usr/X11R6/lib/libstdc++.so.5: no version information available (required by /usr/kde/3.4/lib/libkdepim.so.1)
kontact: /usr/X11R6/lib/libstdc++.so.5: no version information available (required by /usr/kde/3.4/lib/libkpinterfaces.so.1)
kontact: /usr/X11R6/lib/libstdc++.so.5: no version information available (required by /usr/kde/3.4/lib/libkpinterfaces.so.1)
[...snip...]
kontact: /usr/X11R6/lib/libstdc++.so.5: no version information available (required by /usr/qt/3/lib/libqt-mt.so.3)
kontact: /usr/X11R6/lib/libstdc++.so.5: no version information available (required by /usr/qt/3/lib/libqt-mt.so.3)
kontact: relocation error: /usr/qt/3/lib/libqt-mt.so.3: symbol _ZTVN10__cxxabiv117__class_type_infoE, version GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference
jonas@jw jonas $ 
And I didn't actually expect it to work either. But I don't know how to fix it, since there is nothing looking like it on the system. (find /usr /lib -name libstdc++* returns several files but no libstdc++.so.5)
BTW /usrX11R6/lib is a symlink to ../lib.


That's one of the problems, I don't have /usr/lib/libstdc++.so.5

Next problem is, I no longer have any g++ file.

Code: Select all

jw bin # g++
g++: No such file or directory
jw bin #
and when I try to emerge xmms, it fails with the error

Code: Select all

checking for i586-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/xmms-jack-0.10/work/xmms-jack/config.log

!!! ERROR: media-plugins/xmms-jack-0.10 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

jw jonas #
And that "... ...xmms-jack/config.log" only says it couldn't find any g++. And I don't either. There isn't any.
I thought emerging gcc would pull it in. And I promise I didn't have nocxx in the USE-flags.
After emerging gcc three times and glibc between first and second emerge gcc I am a little stuck.

I don't have the courage to reboot right now as I am not shure it will come up correctly.

Anyone help?
Top
jonaswidarsson
Apprentice
Apprentice
User avatar
Posts: 273
Joined: Fri Jan 16, 2004 10:39 am
Location: Göteborg, Sweden

  • Quote

Post by jonaswidarsson » Wed Mar 16, 2005 3:10 pm

I was using ccache before the gcc upgrade, but since I had errors I have now (before above post) removed it from my path and taken it out of FEATURES in /etc/make.conf

Is there anything I can blindly try to emerge to see if it fixes any of these two issues?
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Wed Mar 16, 2005 3:59 pm

Have you seen this sticky in Portage & Programming?
No-one's more important than the earthworm.
Top
jonaswidarsson
Apprentice
Apprentice
User avatar
Posts: 273
Joined: Fri Jan 16, 2004 10:39 am
Location: Göteborg, Sweden

  • Quote

Post by jonaswidarsson » Wed Mar 16, 2005 4:38 pm

Maedhros wrote:Have you seen this sticky in Portage & Programming?
No, I hadn't, but I found something very strange.
I compared the output of "gcc -v" on this and another computer.

This laptop:
jw X11R6 # gcc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5/specs
Configured with: /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i586-pc-linux-gnu/gcc-bin/3.3.5 --includedir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5/include --datadir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5 --mandir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5/man --infodir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5/info --with-gxx-include-dir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5/include/g++-v3 --host=i586-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c --enable-shared --enable-threads=posix
Thread model: posix
gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
jw X11R6 #
Server:
jonas@fp1 jonas $ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/specs
Configured with: /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.3.5 --includedir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/include --datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3.5 --mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3.5/man --infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3.5/info --with-gxx-include-dir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/include/g++-v3 --host=i386-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-multilib --disable-libgcj --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
The very special difference is this:
the laptop:
--enable-languages=c
the server:
--enable-languages=c,c++,f77

Hmm.. the f77 is not interesting in this case I believe, and I actually disabled it with USE-flag -fortran to speed up an emerge. But otherwise the use flags for the gcc ebuild are identical on those systems.

WHY is c++ missing? I don't have any dangerous use-flags set.

I post this now while keeping on searching.
Top
Post Reply

26 posts
  • 1
  • 2
  • Next

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic