From: Mark D. Hokhold (
Date: Fri Mar 21 1997 - 08:45:49 CST

Original Question:


        I recently compiled gcc- for a SS10 solaris 2.5.1 machine. And can't seem to get the g++ to compile correctly. When I run g++ `filename.c`, I get the following errors.

        # g++ filename.c
        ld: fatal: library -lstdc++: not found
        ld: fatal: File processing errors. No output written to a.out

        I compiled `libg++-2.7.2` (which compiled with no problems) previous to the gcc package.

        Any positive input would be greatly appreciated.



        Thanks for the input of the following people I noticed that I forgot to run `make install` on my libg++-2.7.2 package. The libg++.a and libstdc++.a should've been in /usr/local/lib (by default).



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:49 CDT