Compiling BIND 8.2.3 statically

Kevin Darcy kcd at daimlerchrysler.com
Fri May 18 23:09:57 UTC 2001


Why build statically? Just populate your chroot jail with the necessary
shared objects. If your box isn't a slave for any zones, then you don't
even need to do that, since the only thing that would need the shared
objects is named-xfer.


- Kevin

Arnd Vehling wrote:

> Hi,
>
> I am trying to setup and new DNS box with a chrooted named 8.2.3.
>
> When compiling with "-O -static" i get the following error
> message:
>
> /usr/lib/libc.a(res_init.o): In function `__res_randomid':
> res_init.o(.text+0x634): multiple definition of `__res_randomid'
> ../../lib/libbind.a(res_init.o)(.text+0xb2c): first defined here
> /usr/bin/ld: Warning: size of symbol `__res_randomid' changed
> from 42 to 46 in
> res_init.o
>
> Any ideas how to solve this prob?
>
> regards,
>
>    Arnd





More information about the bind-users mailing list