Build fails bind-9.4.1-P1 on Solaris 10
Adam Tkac
atkac at redhat.com
Tue Oct 9 12:09:29 UTC 2007
On Sat, Oct 06, 2007 at 09:06:03PM +0100, Hoshi sepai wrote:
> Hi
>
> I'm receiving the following error when running make. I truncated the
> output of the file. There are a few warnings about syntax at other stages
> during the compilation, but nothing that reports an error until the
> following:
>
> /bin/ksh /var/tmp/bind-9.4.1-P1/libtool --mode=link gcc -g -O2 -o named \
> builtin.lo client.lo config.lo control.lo controlconf.lo interfacemgr.lo
> listenlist.lo log.lo logconf.lo main.lo notify.lo query.lo server.lo
> sortlist.lo tkeyconf.lo tsigconf.lo update.lo xfrout.lo zoneconf.lo
> lwaddr.lo lwresd.lo lwdclient.lo lwderror.lo lwdgabn.lo lwdgnba.lo
> lwdgrbn.lo lwdnoop.lo lwsearch.lo unix/os.lo ../../lib/lwres/liblwres.la
> ../../lib/dns/libdns.la -L/usr/local/ssl/lib -R/usr/local/ssl/lib
> -lcrypto ../../lib/bind9/libbind9.la ../../lib/isccfg/libisccfg.la
> ../../lib/isccc/libisccc.la ../../lib/isc/libisc.la -lnsl -lsocket -lscf
> -lpthread -lthread
> gcc -g -O2 -o .libs/named .libs/builtin.o .libs/client.o .libs/config.o
> .libs/control.o .libs/controlconf.o .libs/interfacemgr.o
> .libs/listenlist.o .libs/log.o .libs/logconf.o .libs/main.o .libs/notify.o
> .libs/query.o .libs/server.o .libs/sortlist.o .libs/tkeyconf.o
> .libs/tsigconf.o .libs/update.o .libs/xfrout.o .libs/zoneconf.o
> .libs/lwaddr.o .libs/lwresd.o .libs/lwdclient.o .libs/lwderror.o
> .libs/lwdgabn.o .libs/lwdgnba.o .libs/lwdgrbn.o .libs/lwdnoop.o
> .libs/lwsearch.o unix/.libs/os.o ../../lib/lwres/.libs/liblwres.so
> ../../lib/dns/.libs/libdns.so -L/usr/local/ssl/lib
> ../../lib/bind9/.libs/libbind9.so
> /var/tmp/bind-9.4.1-P1/lib/isccfg/.libs/libisccfg.so
> ../../lib/isccfg/.libs/libisccfg.so
> /var/tmp/bind-9.4.1-P1/lib/dns/.libs/libdns.so -lcrypto
> /var/tmp/bind-9.4.1-P1/lib/isccc/.libs/libisccc.so
> ../../lib/isccc/.libs/libisccc.so
> /var/tmp/bind-9.4.1-P1/lib/isc/.libs/libisc.so
> ../../lib/isc/.libs/libisc.so -lnsl -lsocket -lscf -lpthread -lthread
> -R/usr/local/lib -R/usr/local/ssl/lib
> ld: warning: file ../../lib/isccfg/.libs/libisccfg.so: linked to
> /var/tmp/bind-9.4.1-P1/lib/isccfg/.libs/libisccfg.so: attempted multiple
> inclusion of file
> ld: warning: file /var/tmp/bind-9.4.1-P1/lib/dns/.libs/libdns.so: linked
> to ../../lib/dns/.libs/libdns.so: attempted multiple inclusion of file
> ld: warning: file ../../lib/isccc/.libs/libisccc.so: linked to
> /var/tmp/bind-9.4.1-P1/lib/isccc/.libs/libisccc.so: attempted multiple
> inclusion of file
> ld: warning: file ../../lib/isc/.libs/libisc.so: linked to
> /var/tmp/bind-9.4.1-P1/lib/isc/.libs/libisc.so: attempted multiple
> inclusion of file
> Undefined first referenced
> symbol in file
> RSA_generate_key_ex ../../lib/dns/.libs/libdns.so
> DSA_generate_parameters_ex ../../lib/dns/.libs/libdns.so
> DH_generate_parameters_ex ../../lib/dns/.libs/libdns.so
> ld: fatal: Symbol referencing errors. No output written to .libs/named
> collect2: ld returned 1 exit status
> make[2]: *** [named] Error 1
> make[2]: Leaving directory `/var/tmp/bind-9.4.1-P1/bin/named'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/var/tmp/bind-9.4.1-P1/bin'
> make: *** [subdirs] Error 1
Looks like your libcrypto library doesn't contains those symbols. If you compiled openssl yourself you might have inconsistency between openssl headers and libraries.
Adam
>
>
> My environment is:
> Workstation: Ultra 5
> O/S: Solaris 10 Update 4 (09/2007) - vanilla without October patches
> Compiler: GCC for SPARC Systems tar ball (SUNW0gccfss) [Release 4.0.4]
> with Sun Code Generator for SPARC Systems (SUNW0scgfss) [Release
> 4.0.4]
> downloaded from http://cooltools.sunsource.net/gcc/install.html
> I've installed both uncompressed tar balls into /usr/sfw, and
> successfully compiled Openssl-0.9.8e
> ld: Solaris /usr/ccs/bin/ld and other binutils. e.g. ar, nm, m4, ranlib
> make:
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
>
More information about the bind-users
mailing list