Highlight, BIND 9.11.x has some neat new items I wanted to play/work with, so I compiled and installed a fresh copy of OpenSSL 1.0.2l, then attempted to compile a copy of BIND 9.11.2, linked against my new OpenSSL libraries.

In short, the compile runs for some time, and actually produces (good && working) the actual binaries that I need. Example:

.................................
ultra20m3 /usr/local/src/b/bind-9.11.2/bin/named 537 # ./named -V
BIND 9.11.2 <id:0a2b929>
running on SunOS i86pc 5.11 oi_151a7
built by make with '--with-libxml2' '--with-openssl=/Applications/openssl-1.0.2l.64' '--prefix=/Applications/bind.9.11.2.64' '--enable-shared' '--without-gssapi' 'CFLAGS=-m64' 'LDFLAGS=-L/Applications/openssl-1.0.2l.64/lib' 'LIBS=-lcrypto -lssl' 'CPPFLAGS=-I/Applications/openssl-1.0.2l.64/include -I/Applications/openssl-1.0.2l.64/include/openssl'
compiled by GCC 4.4.4
compiled with OpenSSL version: OpenSSL 1.0.2l  25 May 2017
linked to OpenSSL version: OpenSSL 1.0.2l  25 May 2017
compiled with libxml2 version: 2.7.6
linked to libxml2 version: 20706
compiled with zlib version: 1.2.3
linked to zlib version: 1.2.3
threads support is enabled

# ldd ./named
        libdl.so.1 =>         /lib/64/libdl.so.1
        libnsl.so.1 =>        /lib/64/libnsl.so.1
        libsocket.so.1 =>     /lib/64/libsocket.so.1
        libscf.so.1 =>        /lib/64/libscf.so.1
        libpthread.so.1 =>    /lib/64/libpthread.so.1
        libthread.so.1 =>     /lib/64/libthread.so.1
        libxml2.so.2 =>       /lib/64/libxml2.so.2
        libz.so.1 =>  /lib/64/libz.so.1
        libm.so.2 =>  /lib/64/libm.so.2
        libc.so.1 =>  /lib/64/libc.so.1
        libmp.so.2 =>         /lib/64/libmp.so.2
        libmd.so.1 =>         /lib/64/libmd.so.1
        libuutil.so.1 =>      /lib/64/libuutil.so.1
        libgen.so.1 =>        /lib/64/libgen.so.1
        libnvpair.so.1 =>     /lib/64/libnvpair.so.1
        libsmbios.so.1 =>     /usr/lib/64/libsmbios.so.1


# file ./named
./named: ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped, no debugging information available



.................................

PROBLEM ENCOUNTERED IN SHORT

The problem I am encountering: The compile bails out during compiling of the 'test' section. Actual screen captures at bottom of note.

Also note - what is the ".32" and ".64" referencing on some of the directories? I did both a 32 and 64 bit compile of OpenSSL (both successful and functional), and then, I (attempted) both a 32 and 64 bit compile of BIND. Both compile attempts failed in the same place.

.................................

ENVIRONMENTAL VARIABLES ++ CONFIGURE COMMAND LINE

64 bit compile

setenv CFLAGS          "-m64"
setenv LIBS            "-lcrypto -lssl"
setenv SSL_CFLAGS "-I/Applications/openssl-1.0.2l.64/include -I/Applications/openssl-1.0.2l.64/include/openssl" setenv SSL_LIBS "-R/Applications/openssl-1.0.2l.64/lib -L/Applications/openssl-1.0.2l.64/lib" setenv LD_LIBRARY_PATH "/Applications/openssl-1.0.2l.64/lib:/usr/lib:/usr/local/lib:/usr/xpg4/lib:/usr/openwin/lib:/usr/dt/lib"
setenv LDFLAGS         "-L/Applications/openssl-1.0.2l.64/lib"
setenv CPPFLAGS "-I/Applications/openssl-1.0.2l.64/include -I/Applications/openssl-1.0.2l.64/include/openssl"



./configure --with-libxml2 \
--with-openssl=/Applications/openssl-1.0.2l.64 \
--prefix=/Applications/bind.9.11.2.64 \
--enable-shared

.................................

ACTUAL ERROR OUTPUT

NOTE:all my problems kick off in the

bind-9.11.2/bin/tests/system/dyndb

directory.

making all in /usr/local/src/b/bind-9.11.2/make
making all in /usr/local/src/b/bind-9.11.2/unit
making all in /usr/local/src/b/bind-9.11.2/lib
making all in /usr/local/src/b/bind-9.11.2/lib/isc
making all in /usr/local/src/b/bind-9.11.2/lib/isc/include
making all in /usr/local/src/b/bind-9.11.2/lib/isc/include/isc
making all in /usr/local/src/b/bind-9.11.2/lib/isc/include/pk11
making all in /usr/local/src/b/bind-9.11.2/lib/isc/include/pkcs11
making all in /usr/local/src/b/bind-9.11.2/lib/isc/unix
making all in /usr/local/src/b/bind-9.11.2/lib/isc/unix/include
making all in /usr/local/src/b/bind-9.11.2/lib/isc/unix/include/isc
making all in /usr/local/src/b/bind-9.11.2/lib/isc/unix/include/pkcs11
making all in /usr/local/src/b/bind-9.11.2/lib/isc/nls
making all in /usr/local/src/b/bind-9.11.2/lib/isc/pthreads
making all in /usr/local/src/b/bind-9.11.2/lib/isc/pthreads/include
making all in /usr/local/src/b/bind-9.11.2/lib/isc/pthreads/include/isc
making all in /usr/local/src/b/bind-9.11.2/lib/isc/x86_32
making all in /usr/local/src/b/bind-9.11.2/lib/isc/x86_32/include
making all in /usr/local/src/b/bind-9.11.2/lib/isc/x86_32/include/isc
making all in /usr/local/src/b/bind-9.11.2/lib/isccc
making all in /usr/local/src/b/bind-9.11.2/lib/isccc/include
making all in /usr/local/src/b/bind-9.11.2/lib/isccc/include/isccc
making all in /usr/local/src/b/bind-9.11.2/lib/dns
/usr/ccs/bin/make include/dns/enumtype.h
`include/dns/enumtype.h' is up to date.
/usr/ccs/bin/make include/dns/enumclass.h
`include/dns/enumclass.h' is up to date.
/usr/ccs/bin/make include/dns/rdatastruct.h
`include/dns/rdatastruct.h' is up to date.
/usr/ccs/bin/make code.h
`code.h' is up to date.
making all in /usr/local/src/b/bind-9.11.2/lib/dns/include
making all in /usr/local/src/b/bind-9.11.2/lib/dns/include/dns
making all in /usr/local/src/b/bind-9.11.2/lib/dns/include/dst
making all in /usr/local/src/b/bind-9.11.2/lib/isccfg
making all in /usr/local/src/b/bind-9.11.2/lib/isccfg/include
making all in /usr/local/src/b/bind-9.11.2/lib/isccfg/include/isccfg
making all in /usr/local/src/b/bind-9.11.2/lib/bind9
making all in /usr/local/src/b/bind-9.11.2/lib/bind9/include
making all in /usr/local/src/b/bind-9.11.2/lib/bind9/include/bind9
making all in /usr/local/src/b/bind-9.11.2/lib/lwres
making all in /usr/local/src/b/bind-9.11.2/lib/lwres/include
making all in /usr/local/src/b/bind-9.11.2/lib/lwres/include/lwres
making all in /usr/local/src/b/bind-9.11.2/lib/lwres/man
making all in /usr/local/src/b/bind-9.11.2/lib/lwres/unix
making all in /usr/local/src/b/bind-9.11.2/lib/lwres/unix/include
making all in /usr/local/src/b/bind-9.11.2/lib/lwres/unix/include/lwres
making all in /usr/local/src/b/bind-9.11.2/lib/irs
making all in /usr/local/src/b/bind-9.11.2/lib/irs/include
making all in /usr/local/src/b/bind-9.11.2/lib/irs/include/irs
making all in /usr/local/src/b/bind-9.11.2/lib/tests
making all in /usr/local/src/b/bind-9.11.2/lib/tests/include
making all in /usr/local/src/b/bind-9.11.2/lib/tests/include/tests
making all in /usr/local/src/b/bind-9.11.2/lib/samples
making all in /usr/local/src/b/bind-9.11.2/bin
making all in /usr/local/src/b/bind-9.11.2/bin/named
making all in /usr/local/src/b/bind-9.11.2/bin/named/unix
making all in /usr/local/src/b/bind-9.11.2/bin/rndc
making all in /usr/local/src/b/bind-9.11.2/bin/dig
making all in /usr/local/src/b/bind-9.11.2/bin/delv
making all in /usr/local/src/b/bind-9.11.2/bin/dnssec
making all in /usr/local/src/b/bind-9.11.2/bin/tools
making all in /usr/local/src/b/bind-9.11.2/bin/tests
making all in /usr/local/src/b/bind-9.11.2/bin/tests/atomic
making all in /usr/local/src/b/bind-9.11.2/bin/tests/db
making all in /usr/local/src/b/bind-9.11.2/bin/tests/dst
making all in /usr/local/src/b/bind-9.11.2/bin/tests/master
making all in /usr/local/src/b/bind-9.11.2/bin/tests/mem
making all in /usr/local/src/b/bind-9.11.2/bin/tests/hashes
making all in /usr/local/src/b/bind-9.11.2/bin/tests/names
making all in /usr/local/src/b/bind-9.11.2/bin/tests/net
making all in /usr/local/src/b/bind-9.11.2/bin/tests/rbt
making all in /usr/local/src/b/bind-9.11.2/bin/tests/resolver
making all in /usr/local/src/b/bind-9.11.2/bin/tests/sockaddr
making all in /usr/local/src/b/bind-9.11.2/bin/tests/tasks
making all in /usr/local/src/b/bind-9.11.2/bin/tests/timers
making all in /usr/local/src/b/bind-9.11.2/bin/tests/system
making all in /usr/local/src/b/bind-9.11.2/bin/tests/system/dlzexternal
making all in /usr/local/src/b/bind-9.11.2/bin/tests/system/dyndb
making all in /usr/local/src/b/bind-9.11.2/bin/tests/system/dyndb/driver
CLEANED=`echo "../../../../../lib/dns/libdns.a ../../../../../lib/isc/libisc.a -L/Applications/openssl-1.0.2l.64/lib -R/Applications/openssl-1.0.2l.64/lib -R/Applications/openssl-1.0.2l.64/lib -lcrypto ../../../../../lib/dns/libdns.a ../../../../../lib/isc/libisc.a -ldl -lnsl -lsocket -lscf -lpthread -lcrypto -lssl -lthread -L/usr/lib -R/usr/lib -lxml2 -lz -lpthread -lm -lsocket -lnsl" | cat`; \ ld -L/Applications/openssl-1.0.2l.64/lib -G -z text -o sample.so db.o driver.o instance.o lock.o log.o syncptr.o zone.o \
        ${CLEANED}
ld: warning: symbol '_init' not found, but .init section exists - possible link-edit without using the compiler driver
Text relocation remains                         referenced
    against symbol                  offset      in file
.text (section) 0x20 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x38 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x50 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x68 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x80 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x98 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0xb0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0xc8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0xe0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0xf8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x110 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x128 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x140 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x158 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x170 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x188 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x1a0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x1b8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x1d0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x1e8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x210 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x238 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x268 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x290 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x2b8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x2d0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x2e8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x300 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x318 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x340 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x368 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x390 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x3c8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x3f0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x420 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x448 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(cryptlib.o) .text (section) 0x20 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x38 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x50 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x68 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x80 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x98 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0xb0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0xc8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0xe0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0xf8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x110 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x128 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x158 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x180 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x1b0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x1d8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x1f0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x208 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x238 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x260 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x290 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x2c8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x2f8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(mem.o) .text (section) 0x20 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x38 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x50 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x78 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0xa8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0xd0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0xf8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x120 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x138 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x168 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x1a0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x1c8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x200 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x238 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x270 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x298 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x2c8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x2f8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x328 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x358 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x380 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(ex_data.o) .text (section) 0x20 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(o_init.o) .text (section) 0x20 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x38 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x50 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x68 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x80 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0xb8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0xe0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x108 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x130 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x158 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x170 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x188 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x1a0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x1b8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x1e8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x220 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x258 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x280 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x2a8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x2e0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x318 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x350 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x388 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x3b8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x3e8 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x420 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_dat.o) .text (section) 0x20 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_lib.o) .text (section) 0x38 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(obj_lib.o) .text (section) 0x20 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(aes_misc.o) .text (section) 0x38 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(aes_misc.o) .text (section) 0x50 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(aes_misc.o) .text (section) 0x20 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(bn_lib.o) .text (section) 0x38 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(bn_lib.o) .text (section) 0x50 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(bn_lib.o) .text (section) 0x68 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(bn_lib.o) .text (section) 0x80 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(bn_lib.o) .text (section) 0x98 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(bn_lib.o) .text (section) 0xb0 /Applications/openssl-1.0.2l.64/lib/libcrypto.a(bn_lib.o)

TRUNCATE HERE

these errors actually go on for several thousand more lines
















_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to