BIND 9.11.6 and 9.11.6-P1 build fails on Solaris

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

BIND 9.11.6 and 9.11.6-P1 build fails on Solaris

Jeff Wieland
I know that someone reported the this problem today, but I can't
reply to his message, since I just rejoined this list.

BIND 9.11.5-P4 built fine on SPARC Solaris 10, using Solaris
Studio 12.2 with patches up to date, using the following options:

--prefix=/opt/bind-9.11.5-P4
--localstatedir=/var
--sysconfdir=/etc
--enable-ipv6
--enable-threads
--with-openssl=/opt/openssl-1.0
--with-libtool
--disable-static
--enable-shared
--enable-fixed-rrset
--enable-full-report
--disable-backtrace
--disable-symtable
--without-python

Compiling either 9.11.6 or 9.11.6-P1 gives the following error:

ld: warning: file
/opt/src/sys/bind/sun4v/bind-9.11.6-P1/lib/dns/.libs/libdns.so: linked to
../../lib/dns/.libs/libdns.so: attempted multiple inclusion of file
ld: warning: file ../../lib/isc/.libs/libisc.so: linked to
/opt/src/sys/bind/sun4v/bind-9.11.6-P1/lib/isc/.libs/libisc.so: attempted
multiple inclusion of file
Undefined                       first referenced
  symbol                             in file
isc_atomic_xadd                     .libs/client.o
ld: fatal: symbol referencing errors. No output written to .libs/named

--
Jeff Wieland, UNIX/Network Systems Administrator
Purdue University IT Infrastructure Services UNIX Platforms

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: BIND 9.11.6 and 9.11.6-P1 build fails on Solaris

Jeff Wieland
Wieland, Jeffrey J. wrote:
...

>
> ld: warning: file
> /opt/src/sys/bind/sun4v/bind-9.11.6-P1/lib/dns/.libs/libdns.so: linked to
> ../../lib/dns/.libs/libdns.so: attempted multiple inclusion of file
> ld: warning: file ../../lib/isc/.libs/libisc.so: linked to
> /opt/src/sys/bind/sun4v/bind-9.11.6-P1/lib/isc/.libs/libisc.so: attempted
> multiple inclusion of file
> Undefined                       first referenced
>    symbol                             in file
> isc_atomic_xadd                     .libs/client.o
> ld: fatal: symbol referencing errors. No output written to .libs/named
>
> --
> Jeff Wieland, UNIX/Network Systems Administrator
> Purdue University IT Infrastructure Services UNIX Platforms
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/bind-users

For what it's worth, I see the same problem with the version of gcc that
installs in /usr/sfw/bin (version info below).

$ /usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

--
Jeff Wieland, UNIX/Network Systems Administrator
Purdue University IT Infrastructure Services UNIX Platform


_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users