Hello, I am having problems compiling a statically linked bacula-fd suitable for putting on a rescue/recovery installation.
cd bacula-3.0.1 make clean ./configure --prefix=/usr/bacula \ --sbindir=/usr/bacula/bin \ --sysconfdir=/usr/bacula/bin \ --with-scriptdir=/usr/bacula/bin \ --enable-smartalloc \ --enable-client-only \ --enable-static-fd make ; make install ldd /usr/bacula/bin/bacula-fd linux-gate.so.1 => (0xffffe000) libz.so.1 => /lib/libz.so.1 (0xb7fb2000) libbacfind.so.1 => /usr/bacula/lib/libbacfind.so.1 (0xb7fa6000) libbacpy.so.1 => /usr/bacula/lib/libbacpy.so.1 (0xb7fa4000) libbaccfg.so.1 => /usr/bacula/lib/libbaccfg.so.1 (0xb7f9d000) libbac.so.1 => /usr/bacula/lib/libbac.so.1 (0xb7f53000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e6f000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e64000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7e4f000) libdl.so.2 => /lib/libdl.so.2 (0xb7e4b000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7e0e000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7ce5000) libm.so.6 => /lib/libm.so.6 (0xb7cc0000) libc.so.6 => /lib/libc.so.6 (0xb7b9e000) /lib/ld-linux.so.2 (0xb7fd4000) i assumed that there should be no dependencies on any shared libs with a statically built bacula. has anyone an idea what i do wrong? thanks gerald below is the output after a successfull "./configure run" ------------------------------------------------------------------------ Configuration on Mon Jun 15 06:50:56 EDT 2009: Host: i686-pc-linux-gnu -- suse 10 Bacula version: Bacula 3.0.1 (30 April 2009) Source code location: . Install binaries: /usr/bacula/bin Install libraries: /usr/bacula/lib Install config files: /usr/bacula/bin Scripts directory: /usr/bacula/bin Archive directory: Working directory: /usr/bacula/var/bacula/working PID directory: /var/run Subsys directory: /var/lock/subsys Man directory: ${datarootdir}/man Data directory: /usr/bacula/share Plugin directory: /usr/bacula/lib C Compiler: gcc 4.1.2 C++ Compiler: /usr/bin/g++ 4.1.2 Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: Libraries: -lpthread -ldl Statically Linked Tools: no Statically Linked FD: yes Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database type: None Database port: Database lib: Database name: bacula Database user: bacula Job Output Email: r...@localhost Traceback Email: r...@localhost SMTP Host Address: localhost Director Port: 9101 File daemon Port: 9102 Storage daemon Port: 9103 Director User: Director Group: Storage Daemon User: Storage DaemonGroup: File Daemon User: File Daemon Group: SQL binaries Directory Large file support: yes Bacula conio support: yes -lncurses readline support: no TCP Wrappers support: no TLS support: yes Encryption support: yes ZLIB support: yes enable-smartalloc: yes enable-lockmgr: no bat support: no enable-gnome: no enable-bwx-console: no enable-tray-monitor: no client-only: yes build-dird: yes build-stored: yes ACL support: no XATTR support: yes Python support: no Batch insert enabled: no ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users