Can't compile bind 9.8.1-P1 on Solaris
rob0 at gmx.co.uk
Thu Nov 17 04:37:54 UTC 2011
On Wednesday 16 November 2011 19:30:55 Evan Hunt wrote:
> > I get an error compiling Bind at:
> > make: 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.
This is also affecting me in Slackware 13.37 x86_64. The fix didn't
work, because "make install DESTDIR=/path/to/my/package" fails:
making all in /tmp/bind-build/bind-9.8.1-P1/bin/tests/system/dlzexternal
make: Entering directory `/tmp/bind-build/bind-9.8.1-
gcc -shared -o driver.so driver.o
driver.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [driver.so] Error 1
and so on for , , , ending here.
Using ./configure [ ... ] --without-dlopen [ ... ] got it to compile
and install, which is fine for me, but what should I do if I needed
> 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.
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header
More information about the bind-users