Can't compile bind 9.8.1-P1 on Solaris
Dennis Clarke
dclarke at blastwave.org
Thu Nov 17 01:46:38 UTC 2011
>
>> I get an error compiling Bind at:
>>
>> make[4]: Entering directory
>> `/usr/local/src/bind-9.8.1-P1/bin/tests/system/dlzexternal'
>> ld -G -z text -o driver.so driver.o
>> ld: invalid number `-z'
>>
>> Giving ?G a number makes ?z unrecognized.
>>
>> I'm in Solaris 10, Sparc, GCC 3.4.6
>
> Thanks for the report. We didn't touch that code in the security
> patch, so this bug must have also been in 9.8.1; we'll try to address
> it in 9.8.2.
>
> That isn't critical code; it's just one of the system tests.
> Just "touch bin/tests/system/dlzexternal/driver.o" and then
> run "make" again. The dlzexternal system test will fail
> when you run "make check", but otherwise your server will
> be fine.
>
> In general, issues like this are best sent to the bind9-bugs at isc.com
> alias, which opens a ticket in our bug database. I'll do so now.
9.8.1 and 9.8.1-P1 build fine for me. No really. :-)
# ldd bin/dig
liblwres.so.80 => /opt/csw/lib/sparcv8/liblwres.so.80
libdns.so.81 => /opt/csw/lib/sparcv8/libdns.so.81
libbind9.so.80 => /opt/csw/lib/sparcv8/libbind9.so.80
libisccfg.so.82 => /opt/csw/lib/sparcv8/libisccfg.so.82
libcrypto.so.0.9.8 => /opt/csw/lib/sparcv8/libcrypto.so.0.9.8
libisccc.so.80 => /opt/csw/lib/sparcv8/libisccc.so.80
libisc.so.83 => /opt/csw/lib/sparcv8/libisc.so.83
libxml2.so.2 => /opt/csw/lib/sparcv8/libxml2.so.2
libdl.so.1 => /usr/lib/libdl.so.1
libz.so => /opt/csw/lib/sparcv8/libz.so
libpthread.so.1 => /usr/lib/libpthread.so.1
libiconv.so.2 => /opt/csw/lib/sparcv8/libiconv.so.2
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /opt/csw/lib/sparcv8/libgcc_s.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
# elfdump -d bin/dig
Dynamic Section: .dynamic
index tag value
[0] NEEDED 0x2d4f liblwres.so.80
[1] NEEDED 0x2d5e libdns.so.81
[2] NEEDED 0x2d6b libbind9.so.80
[3] NEEDED 0x2d7a libisccfg.so.82
[4] NEEDED 0x2d8a libcrypto.so.0.9.8
[5] NEEDED 0x2d9d libisccc.so.80
[6] NEEDED 0x2dac libisc.so.83
[7] NEEDED 0x2db9 libxml2.so.2
[8] NEEDED 0x2dc6 libdl.so.1
[9] NEEDED 0x2dd1 libz.so
[10] NEEDED 0x2d13 libpthread.so.1
[11] NEEDED 0x2dd9 libiconv.so.2
[12] NEEDED 0x2de7 libm.so.1
[13] NEEDED 0x2df1 libsocket.so.1
[14] NEEDED 0x2e00 libnsl.so.1
[15] NEEDED 0x2e0c libthread.so.1
[16] NEEDED 0x2d2c libc.so.1
[17] INIT 0x33560
[18] FINI 0x33570
[19] RUNPATH 0x2e1b
/opt/csw/lib/$ISALIST:/opt/csw/lib:/opt/csw/lib:/opt/csw/lib/sparcv8
[20] RPATH 0x2e1b
/opt/csw/lib/$ISALIST:/opt/csw/lib:/opt/csw/lib:/opt/csw/lib/sparcv8
[21] HASH 0x100e8
[22] STRTAB 0x13514
[23] STRSZ 0x2e60
[24] SYMTAB 0x11254
[25] SYMENT 0x10
[26] CHECKSUM 0x7b54
[27] VERNEED 0x16374
[28] VERNEEDNUM 0x2
[29] PLTRELSZ 0xb28
[30] PLTREL 0x7
[31] JMPREL 0x16448
[32] RELA 0x163c4
[33] RELASZ 0xbac
[34] RELAENT 0xc
[35] DEBUG 0
[36] FEATURE_1 0x1 [ PARINIT ]
[37] FLAGS 0 0
[38] FLAGS_1 0 0
[39] PLTGOT 0x49120
#
#
Everything here is working great on Solaris and I expect to have all my
Solaris name servers updated before morning. The Debian folks have
already release update patches. Life is good.
Dennis
--
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke | Solaris and Linux and Open Source |
| dclarke at blastwave.org | Respect for open standards. |
+-------------------------+-----------------------------------+
More information about the bind-users
mailing list