Linux-Noob Forums
libstdc++ linking error - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html)
+--- Forum: Redhat (https://www.linux-noob.com/forums/forum-90.html)
+--- Thread: libstdc++ linking error (/thread-3494.html)



libstdc++ linking error - Jamar - 2004-04-05


Hi There,

 

I recently installed a gcc 3.4 snapshot. But now, everytime I try to run a newly compiled c++ app I get:

 

/lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.6)

 

I saw that I have 2 libgcc_s.so.1, one in /lib and another in /usr/lib . Should I uninstall the previous gcc 3.3 RPM? Could I fix this using ld? If so, what would be the the correct command with ld to link /usr/lib/libstc++.so.6 to /usr/libgcc_s.so.1 ? I also get the same error runing gcj and compiled apps?

 

gcj: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libgcj.so.5)

 

So i have simmilar error with c++ and java apps but C apps run correctly...

 

Thanks




libstdc++ linking error - hijinks - 2004-04-05

you can't just install a new source install of gcc over the old one and expect stuff that is build against gcc 3.2 to work