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 
<mike.eggles...@firstcash.com<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

Reply via email to