g++ doesn't 'tell' executable where libstc++.so is
Yotam Medini
yotamm@tmai.com
Mon Sep 15 17:37:00 GMT 1997
Built and installed egcs-970910.
It knows well where the installed C++ headers are
and where the library variants libstdc++.* are.
But when dynamically linking on Solaris, one can tell the executable
where to look for shared libraries on run-time (libstdc++.so) via -R option.
Thus, without setting LD_LIBRARY_PATH or LD_RUN_PATH
I get:
ld.so.1: ./mavi: fatal: libstdc++.so.2.8.0: can't open file: errno=2
-- yotam
More information about the Gcc-bugs
mailing list