Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
libstdc++ linking error
#1

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

Reply
#2
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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)