hello, On Mon, 2009-06-15 at 16:37 +0200, Arno Lehmann wrote: > Hi, > > > ------- Originalnachricht ------- > > Von: Gerald Leier <gerald.le...@lixto.com> > > An: Thomas <tho...@ic3s.de> > > Gesendet: 15.6.09, 15.31 > > Betreff: Re: [Bacula-users] failing to build a statically linked > > bacula-fd(3.0.1) > > > > hi, > > > > On Mon, 2009-06-15 at 14:52 +0200, Thomas wrote: > > > hi, > > > > > > my first try was: > > > > > > ./configure --enable-static-fd --enable-client-only > > > > > > configure-output > > > Statically Linked FD: yes > > > > > > make > > > ..... > > > Linking bacula-fd ... > > > /home/thomas/bacula-3.0.1/libtool --silent --tag=CXX --mode=link > > > /usr/lib/ccache/g++ -L../lib > > > -L../findlib > > > ...... > > > > > > and the result was a dynamically linked bacula-fd. > > > > > > > contrary to some documentation out there in the wild i think > > it may not be possible to statically build bacula-fd at all! > > Well, ... >
ok, i take my first statement back and replace it with: contrary to some documentation out there in the wild i think it may not be possible to statically build bacula-fd at all - on a modern gnu linux platform :) > > just read something about the impossibility to use "dlopen" with a > > statically linked libstdc++.so.6 & libgcc_s.so.1. > > ( http://www.trilithium.com/johan/2005/06/static-libstdc/ ) > > That's one reason. As far as I know, there a others like some libraries that > Bacula needs only being available as dynamically shared objects. > jepp, i read on a little on it, seems there are a lot of chicken&egg problems barried within that hole. > > can someone please verify that "static" bacula-fd builds are impossible? > > At least under current linux systems - other OSes and older versions of linux > / glibc / etc. allow static builds. > > > its not that big of a problem to not use a statically built bacula-fd. > > > > the only benefit for me would be that i have to put less files on > > my rescue filesystem. > > Given that most rescue systems require a load of dsos already, it's not that > bad, I think. > you are right. bye gerald > Arno > > > thanks > > gerald -- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users