On Fri, Feb 9, 2018, at 14:26, Mike Eggleston wrote:
> Configure complets:
> 
> ./configure --enable-client-only -enable-static-client-only 
> --enable-static-fd --disable-libtool --without-ssl --without-mysql

Good.

> The compile now fails with:
[...]
> /bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o 
> authenticate.o backup.o crypto.o estimate.o fd_plugins.o accurate.o 
> filed_conf.o heartbeat.o hello.o job.o fd_snapshot.o restore.o status.o 
> verify.o verify_vol.o bacl.o bacl_linux.o bacl_osx.o bacl_solaris.o 
> bacl_freebsd.o bxattr.o bxattr_linux.o bxattr_osx.o bxattr_solaris.o 
> bxattr_freebsd.o \
>     -lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
>       -lssl -lcrypto
> /bin/ld: cannot find -lz
> /bin/ld: cannot find -lpthread
> /bin/ld: cannot find -ldl
> /bin/ld: cannot find -ldl
> /bin/ld: cannot find -lssl
> /bin/ld: cannot find -lcrypto
> /bin/ld: cannot find -lstdc++
> /bin/ld: cannot find -lm
> /bin/ld: cannot find -lc
> collect2: error: ld returned 1 exit status

Looks like you don't have static versions of those libraries installed.
Something like:

yum install libc-static libstdc++-static ...

should help. You may have to hunt around a bit for the correct packages to 
install.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to