Re: [Bacula-users] trying to build a static bacula-fd
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
Re: [Bacula-users] trying to build a static bacula-fd
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*))': /opt/bacula/src/bacula-9.0.6/src/lib/plugins.c:156: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /bin/ld: cannot find -lstdc++ ../lib/libbac.a(priv.o): In function `drop(char*, char*, bool)': /opt/bacula/src/bacula-9.0.6/src/lib/priv.c:83: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../lib/libbac.a(guid_to_name.o): In function `guid_list::gid_to_name(unsigned int, char*, int)': /opt/bacula/src/bacula-9.0.6/src/lib/guid_to_name.c:112: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../lib/libbac.a(priv.o): In function `drop(char*, char*, bool)': /opt/bacula/src/bacula-9.0.6/src/lib/priv.c:76: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /opt/bacula/src/bacula-9.0.6/src/lib/priv.c:57: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../lib/libbac.a(guid_to_name.o): In function `guid_list::uid_to_name(unsigned int, char*, int)': /opt/bacula/src/bacula-9.0.6/src/lib/guid_to_name.c:99: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../lib/libbac.a(bnet.o): In function `resolv_host(int, char const*, dlist*)': /opt/bacula/src/bacula-9.0.6/src/lib/bnet.c:345: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libpthread.a(libpthread.o): In function `sem_open': (.text+0x6a23): warning: the use of `mktemp' is dangerous, better use `mkstemp' ../lib/libbac.a(address_conf.o): In function `add_address(dlist**, IPADDR::i_type, unsigned short, int, char const*, char const*, char*, int) [clone .constprop.4]': /opt/bacula/src/bacula-9.0.6/src/lib/address_conf.c:321: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 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@dvlnx107 bacula-9.0.6]$ Thanks, Mike -Original Message- From: Tilman Schmidt [mailto:til...@imap.cc] Sent: Friday, February 09, 2018 8:59 AM To: Mike Eggleston Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] trying to build a static bacula-fd 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
Re: [Bacula-users] trying to build a static bacula-fd
On 2018-02-09 09:33, Josip Deanovic wrote: On Friday 2018-02-09 15:14:44 Mike Eggleston wrote: Thanks, Greg. I’ll look for “dnf”. I looked for *-devel packages and forgot the *-static packages. ☺ No need to use dnf on Centos. You can continue use yum. Also keep in mind that some of their packages have not been built as -static. If you run into one of those, don't be too surprised. Dima -- 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
Re: [Bacula-users] trying to build a static bacula-fd
On Friday 2018-02-09 15:14:44 Mike Eggleston wrote: > Thanks, Greg. I’ll look for “dnf”. I looked for *-devel packages and > forgot the *-static packages. ☺ No need to use dnf on Centos. You can continue use yum. 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
Re: [Bacula-users] trying to build a static bacula-fd
Thanks, Greg. I’ll look for “dnf”. I looked for *-devel packages and forgot the *-static packages. ☺ Thanks, Mike From: Greg Woods [mailto:g...@gregandeva.net] Sent: Friday, February 09, 2018 8:37 AM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] trying to build a static bacula-fd On Fri, Feb 9, 2018 at 6:26 AM, Mike Eggleston mailto:mike.eggles...@firstcash.com>> wrote: /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 You are missing the packages that contain the libraries for static linking. For instance, on my Fedora system, "dnf whatprovides */libssl.a" shows that I would need the "openssl-static" package. You would need to do the equivalent for your distro and install the packages that provide those static libraries. --Greg -- 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
Re: [Bacula-users] trying to build a static bacula-fd
On Fri, Feb 9, 2018, at 16:13, 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: Hmm, I don't see any at first glance. There's > /bin/ld: cannot find -lz which is exactly the type of linking error already addressed above, and > ../lib/libbac.a(plugins.o): In function `load_plugins(void*, void*, char > const*, char const*, bool (*)(Plugin*))': > /opt/bacula/src/bacula-9.0.6/src/lib/plugins.c:156: warning: Using 'dlopen' > in statically linked applications requires at runtime the shared libraries > from the glibc version used for linking which is a warning, not an error. The rest falls into the same pattern AFAICS. -- Tilman Schmidt til...@imap.cc -- 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
Re: [Bacula-users] trying to build a static bacula-fd
Forgot to add, this is CentOS: [bacula@dvlnx107 bacula-9.0.6]$ uname -a Linux dvlnx107 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [bacula@dvlnx107 bacula-9.0.6]$ ls -l /etc/*release -rw-r--r--. 1 root root 38 Aug 30 10:53 /etc/centos-release -rw-r--r--. 1 root root 393 Aug 30 10:53 /etc/os-release lrwxrwxrwx. 1 root root 14 Jan 31 15:32 /etc/redhat-release -> centos-release lrwxrwxrwx. 1 root root 14 Jan 31 15:32 /etc/system-release -> centos-release [bacula@dvlnx107 bacula-9.0.6]$ cat /etc/system-release CentOS Linux release 7.4.1708 (Core) Thanks, Mike -Original Message- From: Mike Eggleston Sent: Friday, February 09, 2018 7:26 AM To: 'Tilman Schmidt' ; bacula-users@lists.sourceforge.net Subject: RE: [Bacula-users] trying to build a static bacula-fd 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
Re: [Bacula-users] trying to build a static bacula-fd
On Fri, Feb 9, 2018 at 6:26 AM, Mike Eggleston wrote: > > /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 You are missing the packages that contain the libraries for static linking. For instance, on my Fedora system, "dnf whatprovides */libssl.a" shows that I would need the "openssl-static" package. You would need to do the equivalent for your distro and install the packages that provide those static libraries. --Greg -- 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
Re: [Bacula-users] trying to build a static bacula-fd
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
Re: [Bacula-users] trying to build a static bacula-fd
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
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
Re: [Bacula-users] trying to build a static bacula-fd
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… ☹ Thanks, Mike From: Tilman Schmidt [mailto:til...@imap.cc] Sent: Tuesday, February 06, 2018 12:42 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] trying to build a static bacula-fd Try without --with-mysql. What do you need a database for in the FD? HTH Tilman On Tue, Feb 6, 2018, at 17:35, Mike Eggleston wrote: I finally have bacula set up for more testing. I’m trying to build a static FD for other servers (GNU/Linux). I’m using the line: ./configure --with-mysql --with-systemd --with-dump-email=bacula@localhost --with-job-email=bacula@localhost --enable-client-only --enable-static-fd --without-ssl --disable-libtool And getting the error: checking for library containing dlopen... (cached) -ldl checking for PostgreSQL support... no checking for MySQL support... yes checking for MySQL embedded support... no checking for SQLite3 support... no You have specified two or more of the supported databases: MySQL, PostgreSQL, or SQLite3. This is not permitted when not using libtool Please reconfigure. Aborting the configuration ... You can see configure has detected no PostgreSQL nor SQLite3 and I’ve only selected MySQL on the command line. What do I do now? TIA Mike -- 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<mailto:Bacula-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bacula-users -- Tilman Schmidt til...@imap.cc<mailto:til...@imap.cc> -- 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
Re: [Bacula-users] trying to build a static bacula-fd
Try without --with-mysql. What do you need a database for in the FD? HTH Tilman On Tue, Feb 6, 2018, at 17:35, Mike Eggleston wrote: > I finally have bacula set up for more testing. I’m trying to build a > static FD for other servers (GNU/Linux).> I’m using the line: > > ./configure --with-mysql --with-systemd --with-dump- > email=bacula@localhost --with-job-email=bacula@localhost --enable-client- > only --enable-static-fd --without-ssl --disable-libtool> > And getting the error: > > checking for library containing dlopen... (cached) -ldl > checking for PostgreSQL support... no > checking for MySQL support... yes > checking for MySQL embedded support... no > checking for SQLite3 support... no > > > You have specified two or more of the > supported databases: MySQL, PostgreSQL, or SQLite3. > This is not permitted when not using libtool Please reconfigure. > > Aborting the configuration ... > > You can see configure has detected no PostgreSQL nor SQLite3 and I’ve > only selected MySQL on the command line.> What do I do now? > > TIA > > Mike > > -- > > 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 -- Tilman Schmidt til...@imap.cc -- 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
[Bacula-users] trying to build a static bacula-fd
I finally have bacula set up for more testing. I'm trying to build a static FD for other servers (GNU/Linux). I'm using the line: ./configure --with-mysql --with-systemd --with-dump-email=bacula@localhost --with-job-email=bacula@localhost --enable-client-only --enable-static-fd --without-ssl --disable-libtool And getting the error: checking for library containing dlopen... (cached) -ldl checking for PostgreSQL support... no checking for MySQL support... yes checking for MySQL embedded support... no checking for SQLite3 support... no You have specified two or more of the supported databases: MySQL, PostgreSQL, or SQLite3. This is not permitted when not using libtool Please reconfigure. Aborting the configuration ... You can see configure has detected no PostgreSQL nor SQLite3 and I've only selected MySQL on the command line. What do I do now? TIA Mike -- 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