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' <til...@imap.cc>; 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

Reply via email to