ld can't find -lstdc++
Hi,
I too am a "victim" of the __register_frame_info fiasco. :)
I used the fix that Mitch suggested which seemed to correct the problems.
Unfortunately, I can't compile C++ programs now. I get link errors like:
/usr/bin/ld: cannot open -lstdc++: No such file or directory
collect2: ld returned 1 exit status
but libstdc++ appears to exist:
-rw-r--r-- 1 root root 1869960 Nov 25 13:22
libstdc++-2-libc6.0-1-2.9.0.a
-rw-r--r-- 1 root root 260908 Nov 25 13:25
libstdc++-2-libc6.0-1-2.9.0.so
lrwxrwxrwx 1 root root 29 Nov 30 12:52
libstdc++-libc6.0-1.a.2 -> libstdc++-2-libc6.0-1-2.9.0.a
lrwxrwxrwx 1 root root 30 Nov 30 12:50
libstdc++-libc6.0-1.so.2 -> libstdc++-2-libc6.0-1-2.9.0.so
lrwxrwxrwx 1 root root 20 Mar 24 1998 libstdc++.so.2.7.2
-> libstdc++.so.2.7.2.8
-rw-r--r-- 1 root root 240240 Oct 7 1997
libstdc++.so.2.7.2.8
lrwxrwxrwx 1 root root 18 Nov 30 11:12 libstdc++.so.2.8 ->
libstdc++.so.2.8.0
-rw-r--r-- 1 root root 270044 Nov 27 17:03 libstdc++.so.2.8.0
-rw-r--r-- 1 root root 2424 Nov 25 13:25 libstdc++.so.2.9
By the way, why is libstdc++.so.2.9 so small?
Any suggestions on how to correct this link problem?
Thanks,
-Ossama
______________________________________________________________________
Ossama Othman <othman@astrosun.tn.cornell.edu>
58 60 1A E8 7A 66 F4 44 74 9F 3C D4 EF BF 35 88 1024/8A04D15D 1998/08/26
Reply to: