Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34838 - reiserfs the root of evil?
Summary: reiserfs the root of evil?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-01 10:45 UTC by roger55 (RETIRED)
Modified: 2003-12-08 06:14 UTC (History)
0 users

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 roger55 (RETIRED) gentoo-dev 2003-12-01 10:45:26 UTC
I have been questioning people in #gentoo with the following problem for quite 
some time: 
 
error while loading shared libraries: libstdc++.so.5: cannot open shared object 
file: no such file or directory 
 
All of them did emerge something before it happened (heavy load), some were 
failed emerges, some successful. 
 
All of them used reiserfs on their / partition except one who used xfs. 
 
All of them either used gentoo-sources 2.4.x or 2.6-testx. 
 
All, who managed to tell, had preempt enabled. 
 
The problem is fixed by this command: 
 
ls -d /usr/lib/gcc-lib/*/* > /etc/ld.so.conf; ldconfig; env-update 
 
Pure coincidence? I think not.  
 
I had that problem myself with gentoo-sources, never had it since I solely use 
vanilla-sources (2.4.20 2.4.21). 
 
Alltogether I asked ~40-50 people within the last two months. 
 
The question is does gentoo's compiling trigger some bug with reiser+preempt 
under heavy load? 
 
What other information might be relevant in finding the reason for that common 
problem? 
 
roger55 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2003-12-01 10:49:35 UTC
there were some bugs with gcc updates and env.d not being updated properly ...

if you run `env-update ; . /etc/profile` does the bug return ?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-12-06 04:43:29 UTC
No reply... NEEDINFO.
Comment 3 roger55 (RETIRED) gentoo-dev 2003-12-07 09:52:34 UTC
<vagwin> roger55: ok. here u go...
<roger55> vagwin: ... waiting ...
<vagwin> usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: no such file or directory.
<roger55> vagwin: ok
<roger55> vagwin: reiserfs?
<vagwin> yup
<roger55> vagwin: what sources?
<vagwin> kernel?
<roger55> yes
<vagwin> 2.4.22-gentootest
<vagwin> -r1
<roger55> preempt enables?
<vagwin> yup
<roger55> vagwin: hang on please...
<vagwin> roger55: k. thanks.
<roger55> vagwin: if you run `env-update ; source /etc/profile` does it work again?
<vagwin> nope
<roger55> vagwin: really?
<vagwin> cant run env-update. get same error.
<vagwin> its a pyython thing...

so it's not fixed by Spanky's advice.
Comment 4 Spider (RETIRED) gentoo-dev 2003-12-07 10:10:54 UTC
seems like a broken gcc


spider@Darkmere> locate libstdc++.so.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5.0.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
spider@Darkmere> qpkg -v -f /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
sys-devel/gcc-3.3.2-r3 *


Comment 5 roger55 (RETIRED) gentoo-dev 2003-12-07 10:39:50 UTC
some more info:

<roger55> I want to see the contents of ld.so.conf
<-- buggy (~bug@dyn-202-89-162-69.arach.net.au) has left #flood ("Leaving")
<vagwin> ok. i will be typing it tho.
<vagwin> usr/local/lib
<vagwin> usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2
<vagwin> usr/lib/opengl/nvidia/lib
<vagwin> usr/lib/mozill
<vagwin> *mozilla
<vagwin> usr/X11R6/lib
<vagwin> opt/blackdown-jdk-1.4.1/jre/lib/i386/
<vagwin> ditto native_threads
<vagwin> ditto classic
<vagwin> usr/qt/3/lib
<vagwin> usr/kde/3.1/lib
<vagwin> thats it.

....
<roger55> tell me this first: cat /etc/env.d/05gcc
<vagwin> cannot k
<vagwin> PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3
<vagwin> ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3
<vagwin> (which looks wrong)
<vagwin> MANPATH="/usr/share/gcc-data/i686-pc-gnu/3.3/man
<vagwin> INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info
<vagwin> CC="gcc"
<vagwin> CXX="g++"
<vagwin> LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2"


<roger55> vagwin: locate libstdc++.so.5
<vagwin> env-update still gives python missing libstdc++ errors.
<vagwin> locate libstdc++.so.5
<vagwin> ooops wrong keyb...
<roger55> vagwin: :)
<vagwin> 3 entries: /opt/openoffice1.1.1/program/libstdc++.so.5
<vagwin> usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
<vagwin> ditto .so.5.0.5
Comment 6 Spider (RETIRED) gentoo-dev 2003-12-07 10:49:46 UTC
<vagwin> PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3
<vagwin> ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3

That doesn't match reality. Have him change those to the real matching path :
ROOTPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/" 

(or make a symlink between 3.3 and 3.3.2 in both places. ) 

Comment 7 SpanKY gentoo-dev 2003-12-08 06:14:44 UTC
in other words this looks like the gcc upgrade bug, not some kind of bug related to reiserfs