Bacula-users

Re: [Bacula-users] Compiling on Solaris 10 - storage daemon build dying

2009-01-04 16:19:21
Subject: Re: [Bacula-users] Compiling on Solaris 10 - storage daemon build dying
From: Allan Black <Allan.Black AT btconnect DOT com>
To: Jeff MacDonald <oss AT bignose DOT ca>
Date: Sun, 04 Jan 2009 21:16:21 +0000
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.

Allan

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users