View previous topic :: View next topic |
Author |
Message |
spirinaites n00b
Joined: 26 May 2002 Posts: 15 Location: Lisboa - Portugal
|
Posted: Wed Mar 16, 2005 8:51 pm Post subject: |
|
|
Code: | wget http://dev.gentoo.org/~azarah/bins/amd64/gcc-3.4.3-r1.tbz2
--20:47:39-- http://dev.gentoo.org/%7Eazarah/bins/amd64/gcc-3.4.3-r1.tbz2
=> `gcc-3.4.3-r1.tbz2'
Resolving dev.gentoo.org... 134.68.220.30
Connecting to dev.gentoo.org[134.68.220.30]:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
20:47:39 ERROR 403: Forbidden.
|
Same error with all the other files. |
|
Back to top |
|
|
HiTech69 n00b
Joined: 11 Jul 2003 Posts: 12 Location: Wilmington, NC
|
Posted: Wed Mar 16, 2005 9:00 pm Post subject: Re: libstdc++.so.6 missing after 3.4.3-20050110 |
|
|
Maedhros wrote: | HiTech69 wrote: | That makes ma a sad panda. Hopefully someone will find me in this thread. |
Well, there's already a fix (which doesn't involve hand-compiling). See the bug-report, and the post above your first one. |
The one for my version will not download from the guys server...sent him an email.
Code: | Forbidden
You don't have permission to access /~azarah/bins/i586/gcc-3.4.3.20050110.tbz2 on this server.
Apache Server at dev.gentoo.org Port 80 |
|
|
Back to top |
|
|
HiTech69 n00b
Joined: 11 Jul 2003 Posts: 12 Location: Wilmington, NC
|
Posted: Wed Mar 16, 2005 9:23 pm Post subject: |
|
|
Are there any other working links to binaries for 2.3.4-20050110 that are not listed in the ticket? |
|
Back to top |
|
|
spirinaites n00b
Joined: 26 May 2002 Posts: 15 Location: Lisboa - Portugal
|
Posted: Wed Mar 16, 2005 9:34 pm Post subject: |
|
|
Permission problem solved. Now downloading. |
|
Back to top |
|
|
jonaswidarsson Apprentice
Joined: 16 Jan 2004 Posts: 273 Location: Göteborg, Sweden
|
Posted: Wed Mar 16, 2005 9:40 pm Post subject: |
|
|
If you don't want to try the binary download:
I had problems getting emerge to run due to the missing stdc++.so.5 in my case.
I placed a symlink in /usr/lib to libstdc++.so.2.8.0 (not knowing anything about what it would break ) but appearently it got python up runing again.
On the other hand, my python is a little old:
Python 2.3.3 (#1, May 1 2004, 17:08:24)
[GCC 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)] on linux2
But you couldn't break it worse than it already is, right?
Try it and see what happens.
emerge gcc and remove the symlink afterwards. |
|
Back to top |
|
|
NiLuJe Guru
Joined: 06 Nov 2004 Posts: 303 Location: Paris, France
|
Posted: Wed Mar 16, 2005 9:47 pm Post subject: |
|
|
You can also google gcc-<insert-your-gcc-version-here>.tbz2 to find a binary gcc package |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
|
Back to top |
|
|
NiLuJe Guru
Joined: 06 Nov 2004 Posts: 303 Location: Paris, France
|
Posted: Thu Mar 17, 2005 12:19 am Post subject: |
|
|
See the posts above, basically, extract it into a temp dir, copy the libstdc++ library into the right place in your live filesystem, redo the symlinks, and it should be good |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Thu Mar 17, 2005 2:46 am Post subject: |
|
|
Now when I try to recompile gcc I get stucked with this message:
Code: | creating cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc
(Any other directories should still work fine.)
Execution times (seconds)
TOTAL : 0.00 0.00 0.01 |
and nothing happens...
Guess I'll never get my system back...
_________________ gentoo user |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Thu Mar 17, 2005 4:13 am Post subject: |
|
|
I've finaly managed to reemerge gcc: I had to copy all files from binary archive to my system and overwrite old ones.
Huh... _________________ gentoo user |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Thu Mar 17, 2005 4:24 am Post subject: |
|
|
DONT EVERY DOWN GRADE GLIBC. If its just a 1 revision down possibalbly 2 it may not mess up your system but you should" emerge -e world". If you go "~x86" to "x86" it will bork your sytem. Now you can do it but you have to un-tar a stage1 or a stage2 in your "/".root directory,backup your "/etc" first.. With the stage1, bootstrap it . If you used a stage2 then you and the stage1 people, after they bootstrap, need to "emerge world -eD" _________________ An A-Z Index of the Linux BASH command line
Last edited by hielvc on Thu Mar 17, 2005 4:36 pm; edited 1 time in total |
|
Back to top |
|
|
kim_asplund Tux's lil' helper
Joined: 23 Mar 2004 Posts: 92 Location: Finland
|
Posted: Thu Mar 17, 2005 6:54 am Post subject: |
|
|
NiLuJe wrote: | I simply changed
to
line 946 of /usr/portage/eclass/toolchain.eclass
I recompiled gcc, and it was okay
(Note that these changes won't survive after an emerge --sync ) |
That did it for me |
|
Back to top |
|
|
evoweiss Veteran
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Thu Mar 17, 2005 9:22 am Post subject: Re: libstdc++.so.6 missing after 3.4.3-20050110 |
|
|
Hi,
Maedhros wrote: | Well, there's already a fix (which doesn't involve hand-compiling). See the bug-report, and the post above your first one. |
Well, wish I had seen the previous poster's comment on downgrading glibc . After doing so, I borked the system and had to rebuild from scratch. I've got the system back up and running (lost my email, though nothing important was in my inbox). I basically re-installed almost everything from scratch. Everything seemed to emerge smoothly this time and I noticed that the toolchain.eclass file reflected the changes posted in the bugtracker, so I guess they were made permanent.
Thanks for everybody's help on this. Hopefully there won't be similar 'surprises' down the road!
The thing I love about linux is that, if the system screw up, it's always easy to figure out what happened as it inevitably winds up being your fault .
Best,
Alex |
|
Back to top |
|
|
jonaswidarsson Apprentice
Joined: 16 Jan 2004 Posts: 273 Location: Göteborg, Sweden
|
Posted: Thu Mar 17, 2005 10:09 am Post subject: Re: libstdc++.so.6 missing after 3.4.3-20050110 |
|
|
evoweiss wrote: | The thing I love about linux is that, if the system screw up, it's always easy to figure out what happened as it inevitably winds up being your fault . | The thing I hate about windows is that, if the system screws up, it's always difficult to figure out what happened as it inevitably winds up being Bills fault. |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Thu Mar 17, 2005 8:01 pm Post subject: |
|
|
hielvc wrote: | DONT EVER DOWN GRADE GLIBC. If its just a 1 revision down possibalbly 2 it may not mess up your system but you should" emerge -e world". If you go "~x86" to "x86" it will bork your sytem. |
I made the mistake of trying to intelligently migrate my main box from the testing branch back to the stable branch, though i did it by keeping the testing branch toolkit components. everything worked fine, until i rebuilt the system and world files. i seem to have gotten everything right, until i goofed up one of the many config files that needed updating and borked my system. i would have been better off just performing a clean install, but i did it for the challenge. will i ever learn? _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Thu Mar 17, 2005 8:08 pm Post subject: |
|
|
NiLuJe wrote: | Yeah, i had the same kind of problem .. ^^
Except that I use gcc-3.4.3, so it was libstdc++.so.6 ^^ |
me too. i have a box that got caught updating the toolkit when the ebuilds were b0rken, and now its so b0rked that i can't even emerge -sync.
<gripe>
ya know, its really hard to find threads like this one using search terms like "libstdc++.so.6", as terms like that don't get indexed.
</gripe> _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Thu Mar 17, 2005 8:17 pm Post subject: |
|
|
I hate to say it, but doesn't anyone use backup/restore when there are major screwups?
mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Thu Mar 17, 2005 8:34 pm Post subject: |
|
|
Quote: | I hate to say it, but doesn't anyone use backup/restore when there are major screwups? |
not on a system that's getting a de novo installation. when an installation/toolkit rebuild fails, i just grumble and start over, as no data is lost. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
andmetoo n00b
Joined: 17 Mar 2005 Posts: 12 Location: London
|
Posted: Fri Mar 18, 2005 12:14 am Post subject: |
|
|
Can someone please explain for a complete beginner what the fix is. I tried wgetting gcc-3.3.4-r1.tbz2 and even simlinked the resulting libstdc++.so.5 to everywhere I could think of, but I still get
livecd / # emerge gentoo-dev-sources
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Error 40
and similar for 'man anything' etc...
I am trying to do a first time install using install-x86-minimal-2004.3-r1.iso and stage2. I am stuck, as you can see, at trying to install a kernel. |
|
Back to top |
|
|
nsilva n00b
Joined: 17 Mar 2004 Posts: 21 Location: Purdue University
|
Posted: Sat Mar 19, 2005 6:52 pm Post subject: |
|
|
I follow the instruction of the bug #85490, and my system was back to be functional, rigth now
Im doing an emerge of GCC again, however, it does not make sense to me that it does not downloads any patches from the tree. It just take the sources (buggy) previously downloaded and compile them again.
I havent finish compiling gcc again, but im curious to know how that works. _________________ " I'm Fat but at least Im not a Window"
--Tux |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sat Mar 19, 2005 7:11 pm Post subject: |
|
|
andmetoo wrote: | Can someone please explain for a complete beginner what the fix is. I tried wgetting gcc-3.3.4-r1.tbz2 and even simlinked the resulting libstdc++.so.5 to everywhere I could think of, but I still get
livecd / # emerge gentoo-dev-sources
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Error 40
and similar for 'man anything' etc... |
Where did you extract it to? And which commands (exactly) did you use after that?
nsilva wrote: | Im doing an emerge of GCC again, however, it does not make sense to me that it does not downloads any patches from the tree. It just take the sources (buggy) previously downloaded and compile them again. |
Ah, it uses the same sources, but the problem came about because the c++ parts of the sources weren't built last time. You don't necessarily have to use all of the sources to get a working programme - that's what USE flags are about, after all. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
nsilva n00b
Joined: 17 Mar 2004 Posts: 21 Location: Purdue University
|
Posted: Sat Mar 19, 2005 7:47 pm Post subject: |
|
|
Quote: |
I follow the instruction of the bug #85490, and my system was back to be functional, rigth now
Im doing an emerge of GCC again, however, it does not make sense to me that it does not downloads any patches from the tree. It just take the sources (buggy) previously downloaded and compile them again.
I havent finish compiling gcc again, but im curious to know how that works.Question
|
I finish compiling gcc, libstd problem seems to be solved, however, Im still not getting g++. I delete the gcc sources from
/usr/portage/distfiles, re-emerged again, and nothing!!
My kde is meessed up, having errors with kdeinit, I suspect that is something to do with Qt, I was trying to emerged again, however, the lack of g++ is killing me.
Anyone having similar issues? _________________ " I'm Fat but at least Im not a Window"
--Tux |
|
Back to top |
|
|
jonaswidarsson Apprentice
Joined: 16 Jan 2004 Posts: 273 Location: Göteborg, Sweden
|
Posted: Sat Mar 19, 2005 8:09 pm Post subject: |
|
|
if you try "gcc -v" in a console, it should among the things mentioned say:
--enable-languages=c,c++,f77
or at least
--enable-languages=c,c++
if it does, then your problem is different from the other's in this thread.
however, if it says
--enable-languages=c,f77
or
--enable-languages=c
Then try the suggestions above. It should help. |
|
Back to top |
|
|
nsilva n00b
Joined: 17 Mar 2004 Posts: 21 Location: Purdue University
|
Posted: Mon Mar 21, 2005 3:18 am Post subject: |
|
|
The trick work and my g++ is back to work,
Now things got messy because my KDE got messed up,
kde-config:/usr/lib/libstdc++.so.5: version "GLIC_2.0" not found required by /usr/qt/3/libqt-mt.so.3
kde-config:/usr/lib/libstdc++.so.5: version "GCC_3.3" not found required by /usr/qt/3/libqt-mt.so.3
Similarly error were found by kreadconfig, ksplash, kdeinit
When the X is launched it says kdeinit was unable to start
[/code] _________________ " I'm Fat but at least Im not a Window"
--Tux |
|
Back to top |
|
|
zeek Guru
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Sun Jun 05, 2005 3:34 am Post subject: |
|
|
Ran into this:
Code: | * Scanning libtool files for hardcoded gcc library paths...
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
:0: assertion failed: (/usr/bin/portageq envvar 'CHOST') | getline CHOST
|
This old post got me going again: https://forums.gentoo.org/viewtopic.php?t=131129
The solution:
Code: |
cd /usr/lib/gcc-lib/i686-pc-linux-gnu/
ln -s 3.3.5-20050130 3.3.5
LD_LIBRARY_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5 env-update
|
|
|
Back to top |
|
|
|