libstdc – Tech Stuff https://gofedora.com How Tos, Tutorials, Tips and Tricks Thu, 18 Jun 2015 14:17:41 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.4 Bug: Strange libstdc++.so.5 Problem in Fedora 7 https://gofedora.com/bug-strange-libstdcso5-problem-fedora-7/ https://gofedora.com/bug-strange-libstdcso5-problem-fedora-7/#comments Tue, 21 Aug 2007 20:39:28 +0000 http://172.17.8.64/gofedora/?p=235 … ]]> After installing jdk-6u2 for Linux from Sun Microsystems’ site, when I ran javaws it gave strange error that libstdc++.so.5 not found and it aborted. I searched for libstdc++.so.5 and it was not there in /usr/lib/ as expected. That implied something is wrong. As I installed jdk-6u2 from rpms, it should have given dependency error for the particular library, bit it didn’t. After searching for sometime I found that libstdc++.so.5 is provided by compat-libstdc++-33 package, which was not installed on my system. After I installing the particular package, everything worked fine.

It worked fine for Fedora Core 6 because compat-libstdc++-33 is provided by default in Fedora Core 6.

But its kind of strange that if libstdc++.so.5 and hence compat-libstdc++-33 is required for jdk-6u2 then why ‘rpm -ivh’ didn’t give dependency error.

]]>
https://gofedora.com/bug-strange-libstdcso5-problem-fedora-7/feed/ 6