This may be a gcc question, but I'm posting here because of the effect on the other apps. I will take it to LFS support if that list is more appropriate.

I was trying to install Real Player 10 to Firefox-1.5.0. When I tried to run the .bin file to install the plugin, the install failed with an error saying that Real Player depended on libstdc++.so.5. I had a copy of this laying around in my other LFS build so I ran:
/usr/lib> cp -v /storage/home/farmerdan/libstdc++* .

with the following results:
`/storage/home/farmerdan/libstdc++.so' -> `./libstdc++.so'
`/storage/home/farmerdan/libstdc++.so.5' -> `./libstdc++.so.5'
`/storage/home/farmerdan/libstdc++.so.5.0.3' -> `./libstdc++.so.5.0.3'

When I did this the instance of firefox that I had open crashed. I tried to restart it and received the following: /usr/lib/firefox-1.5/firefox-bin: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by /usr/lib/firefox-1.5/firefox-bin) /usr/lib/firefox-1.5/firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /usr/lib/firefox-1.5/firefox-bin) /usr/lib/firefox-1.5/firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /usr/lib/firefox-1.5/libxpcom_core.so) /usr/lib/firefox-1.5/firefox-bin: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by /usr/lib/firefox-1.5/libxpcom_core.so)

I checked with '/usr/lib> ls -alQ libstdc++*' and got:
-rw-r--r-- 1 gcc gcc 1969824 2006-02-03 19:17 "libstdc++.a"
-rwxr-xr-x 1 gcc gcc     954 2006-01-18 11:11 "libstdc++.la"
lrwxrwxrwx 1 gcc gcc 18 2006-01-18 11:11 "libstdc++.so" -> "libstdc++.so.6.0.6"
-rwxr-xr-x 1 gcc gcc 2886540 2006-02-26 09:26 "libstdc++.so.5"
-rwxr-xr-x 1 gcc gcc 2886540 2006-02-26 09:26 "libstdc++.so.5.0.3"
lrwxrwxrwx 1 gcc gcc 18 2006-01-18 11:11 "libstdc++.so.6" -> "libstdc++.so.6.0.6"
-rwxr-xr-x 1 gcc gcc 2886540 2006-02-26 09:26 "libstdc++.so.6.0.6"

Everything looks OK except libstdc++.so.6.0.6 whose attributes are changed to the time I ran the copy command--reference libstdc++.so.5{,.0.3}.

Before I did all of this, I checked--and I must have made a typo--/usr/lib/ and the symlink libstdc++.so was reported as not existing. Now at least firefox, my printer driver and one of my games will not run. I suppose that anything that links against libstdc++.so.6 will fail.

This has been an SVN build and I'm using gcc-4.0.1. My first thought is to rebuild gcc, but install only libstdc++.so.6.0.6. Other than that, I don't know what to do. Would anyone else do what I have thought of or does anyone have any different suggestions.

Thanks,

Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to