On Sunday 16 May 2010 23:00:29 Phil Stracchino wrote: > On 05/16/10 16:45, Kern Sibbald wrote: > > After building it, you must always do an "ldd bacula-fd" to be sure it > > built correctly. > > Sure, and ldd will say it's not a dynamic-linked executable. It won't > warn you that it still needs the correct-version runtime libs available. > > > It is possible to build a static version of Bacula with openssl using > > Ermine, which is what we use for building the Bacula Systems USB rescue > > key. See www.bacula.org -> Ermine for more info on that ... > > I'll look into Ermine. But there's definitely something going on here > that we need to be aware of, that there are cases in which you can build > what appears to be a fully static Bacula client, which all checks (file, > ldd) say is statically linked, and that will actually start up on its > own, but that actually still requires some system runtime libs to be > able to actually execute a restore.
As long as you don't load any Bacula plugins that reference other shared objects and ldd does not show a binary linked to any shared objects, your binary will be static, or you have a broken operating system. Kern ------------------------------------------------------------------------------ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
