Re: sizeof error for 2.6.0p1 compile
2008-07-23 17:33:16
On Wed, Jul 23, 2008 at 3:52 PM, McGraw, Robert P <rmcgraw AT purdue DOT edu>
wrote:
> I tried to compile amanda-2.6.0p1 on a Sparc Solaris 9 & 10 host and get the
> following error:
The actual error in config.log (sent privately) is
configure:49348: /pkgs/gcc-3.4.3/bin/gcc -o conftest -g -O2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT
-I/opt/csw/include -D_GNU_SOURCE -I/opt/csw/include -L/opt/csw/lib
conftest.c -lcrypto -L/opt/csw/lib -lcurl -L/opt/csw/lib
-L/opt/csw/lib -lidn -lssl -lcrypto -llber -lldap -lsocket -lnsl -lz
-lnsl -lsocket >&5
configure:49351: $? = 0
configure:49357: ./conftest
ld.so.1: conftest: fatal: libcurl.so.4: open failed: No such file or directory
I'm guessing this is related to Solaris' habit of requiring both a
runtime and compile-time library search path be specified. You can
probably fix this with
./configure LDFLAGS='-R/opt/csw/lib' ...
Dustin
--
Storage Software Engineer
http://www.zmanda.com
|
|
|