On 4-Jan-09, at 5:16 PM, Allan Black wrote: > Jeff MacDonald wrote: >> Here is my configure line: >> --enable-static-tools \ > > I believe that is your problem. As of Solaris 10, Solaris no longer > ships (or supports) static system libraries. There are a couple of > (technical) reasons for this. It is a bit of a pain, though, when > trying to put together a recovery CD. > > BTW this only affects system libraries, not archives created from > source, so libraries such as libbac.a still work exactly as expected. > >> ld: fatal: library -lc: not found >> ld: fatal: File processing errors. No output written to bls >> collect2: ld returned 1 exit status >> *** Error code 1 >> The following command caused the error: >> /usr/sfw/bin/g++ -static -L../lib -L../findlib -o bls bls.o block.o > ^^^^^^^ > >> The thing is, all of these libraries exist in /lib and /usr/lib >> and the headers are in /usr/include > > Yes, the libraries e.g. libc.so* are there, but not the static ones > e.g. > libc.a.
Brilliant! Thanks Allan. Jeff. > > > Allan ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users