Subject: bin/10651: usr.sbin/bind/named will not link statically
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 07/21/2000 13:36:16
>Synopsis: usr.sbin/bind/named will not link statically
>Arrival-Date: Fri Jul 21 13:37:00 PDT 2000
>Originator: Chris Demetriou
>Release: NetBSD-current as of mid-June, 2000
mostly irrelevant. Cross-compiling (and need to link statically),
but others have verified similar problem with very current sources
in native compilation envionment (linking statically).
usr.sbin/bind/named will not link statically. This is not only
an annoyance for people who want (or need) to link the code statically,
but is also an indication of probable bugs in the code.
the symbols that end up being multiply defined are:
It should be obvious why this is actually a potentially serious
problem. In case it's not: Something (in libc or elsewhere, e.g.,
the main program) is causing the conflicting libc routines to be
pulled in. This is often an indication of the fact that both
sets of routines 'want' to be used. If in fact they are both used
(in a dynamically linked binary) lossage will almost certainly result.
So, it's a serious problem for dynamically linked binaries too
(and arguably a bug that the linker doesn't warn about it for them.)
cd usr.sbin/bind/named && make LDSTATIC=-static
notice resulting problems.