[resolved] * 1.4.0 can't find libstdc+++ in /usr/local/lib

Error message is

Workaround is to start Asterisk with LD_LIBRARY_PATH pointing to /usr/local/lib.

Kernel 2.4.18-19.7.x, gcc (GCC) 3.4.1, gmake 3.81. Interestingly, gcc itself is located under /usr/local, so is gmake.

My system had gcc 2.96 installed under /usr as an RPM package. (Later gcc was compiled locally.) Due to dependences, I’m not able to remove gcc 2.96, but I removed executable from /usr/bin.

Could this be a bug or is there a trick to get the local path into compiled code?

you sure it’s not that you might need gcc-c++ installed ?

I have g++ installed, and libstdc++.so.6 is indeed in /usr/local/lib.

Added /usr/local/lib to /etc/ld.so.conf and ran ldconfig. Problem solved. Appears to be unrelated to 1.4.