Hi,
> ------- Originalnachricht -------
> Von: Gerald Leier <gerald.leier AT lixto DOT com>
> An: Thomas <thomas AT ic3s DOT 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, ...
> 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.
> 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.
Arno
> thanks
> gerald
--
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|