BIND 9.4.1-P1 compilation settings.

Adam Tkac atkac at redhat.com
Thu Sep 27 06:52:34 UTC 2007


On Thu, Sep 27, 2007 at 08:36:24AM +0200, vincent.blondel at ing.be wrote:
> 
> On Thu, Sep 27, 2007 at 07:17:33AM +0200, vincent.blondel at ing.be wrote:
> 
> > Now what I am trying to do is getting a binary 
> > 
> >     dynamicly linked to libraries like libc.so, libthread.so, BIND
> > libraries 
> >     but including statically GCC and OpenSSL precompiled object files
> > like 
> > 
> 
> I think it's impossible now (without some configure patching etc). It
> looks you have to compile statically linked binary.
> 
> Adam
> 
> How can I compile statically binaries ... is this the right way ???
> 
> 
>    --enable-shared=no --enable-static=yes
> --with-openssl=/usr/local/ssl/lib

Yes, it should work. But if you have both static and shared libraries you might have to do some additional linker configuration if your linker prefers shared libraries (dunno what exactly)

Adam



More information about the bind-users mailing list