Configure complets: ./configure --enable-client-only -enable-static-client-only --enable-static-fd --disable-libtool --without-ssl --without-mysql
The compile now fails with: 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 /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 make[1]: *** [static-bacula-fd] Error 1 make[1]: Leaving directory `/opt/bacula/src/bacula-9.0.6/src/filed' ====== Error in /opt/bacula/src/bacula-9.0.6/src/filed ====== make: *** [all] Error 1 [bacula@HOST bacula-9.0.6]$ I wonder what to try next... Any ideas? Thanks, Mike -----Original Message----- From: Tilman Schmidt [mailto:til...@imap.cc] Sent: Thursday, February 08, 2018 5:36 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] trying to build a static bacula-fd Am 06.02.2018 um 19:46 schrieb Mike Eggleston: > Thanks for the suggestion. I’m now using: > > ./configure --enable-client-only --enable-static-client-only > --enable-static-fd --disable-libtool --without-ssl > > with no success… L Still the same error? Still saying > checking for MySQL support... yes ? What if you turn off MySQL support explicitly with --without-mysql? (The theory behind that suggestion being that just as two databases specified for a director is one too many, so is one database specified for a file daemon.) -- Tilman Schmidt E-Mail: til...@imap.cc Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite) ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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