Re: [Bacula-users] Compiling on Solaris 10 - storage daemon build dying
2009-01-05 09:14:56
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|