Bacula-users

Re: [Bacula-users] 100% static linked bacula-sd

2009-05-01 08:57:55
Subject: Re: [Bacula-users] 100% static linked bacula-sd
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 1 May 2009 13:17:37 +0100
>>>>> On Thu, 30 Apr 2009 21:46:51 +0200, Bastian Schern said:
> 
> Hallo everybody,
> 
> I try to install the Bacula Storage Daemon (bacula-sd) v3.0.1 directly 
> on a Linux NAS.
> 
> I used the following configure command to build the static linked binary:
> ./configure --disable-build-dird --enable-build-stored \
> --enable-static-sd --enable-static-tools --with-mysql \
> --without-openssl --without-python
> 
> But if I execute the binary on the NAS I always got this error:
> --- snip ---
> [email protected]:/raid/data/bacula/bin# ./static-bacula-sd
> ./static-bacula-sd: error while loading shared libraries: libbacpy.so.1: 
> cannot open shared object file: No such file or directory
> --- snap ---
> 
> IMHO this means that the binary is not statically linked.
> What's going wrong?

Try adding --disable-libtool to the configure (this is new in v3.0).

__Martin

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>