`GLIBCXX_3.4.14' not found

lfrfly@icqmail.com lfrfly@icqmail.com
Tue Jun 15 17:31:00 GMT 2010


I recently installed gcc 4.5.0. It isn't installed in the normal 
location; I used prefix=/u1/public/gcc to put it on an external drive.

For a while it worked fine, but now mysteriously I've started getting 
this message when I try to run a program built with it (the build and 
link work fine):
./test: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found 
(required by ./test)

The version of libstdc++.so.6 in that location is presumably the one 
 from gcc 4.1.2. Any idea how I can get around this? My 4.5.0 build used 
the --enable-static --disable-shared options, so I'm not even sure why 
it's looking for a .so.



More information about the Gcc-help mailing list