On Friday 2018-02-09 15:13:54 Mike Eggleston wrote: > That's what I was looking for. I looked for the *-devel packages, but > not *-static. Duh! Well, the next part. I installed a few of the > libraries, but not all. Now I have errors other thank linking: > > Linking bacula-fd ... > /bin/g++ -L../lib -L../findlib -o 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/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 > ../lib/libbac.a(plugins.o): In function `load_plugins(void*, void*, char > const*, char const*, bool (*)(Plugin*))':
Look at that "/bin/ld: cannot find -lz" line. And at the end it says: "collect2: error: ld returned 1 exit status" so it is still linking problem. Do you have static zlib package installed? Since you are using Centos it will be zlib-static.x86_64. Regards -- Josip Deanovic ------------------------------------------------------------------------------ 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