Discussion:
Upgrading from BIND 9.14.9 to 9.16.3
(too old to reply)
DeCaro, James John (Jim) CIV DISA FE (USA)
2020-05-27 15:57:46 UTC
Permalink
Solaris Unix x86 64 bit VM on VMware

I discovered a new dependency: libuv. libuv also has dependencies: automake m4 libtool autoconf. I installed the dependencies, then tried installing various versions of libuv using sh autogen.sh -- then ./configure - make - make check - make install to install libuv. Back to installing BIND 9.16.3: ./configure > received an error: 'configure: error: libuv not found'. I had tried installing libuv 1.0.0. 1.38.0. and 1.9.1 --same result.
libuv files are present in:

$ find / -name libuv* -print
/usr/local/lib/libuv.so
/usr/local/lib/libuv.la
/usr/local/lib/libuv.so.1
/usr/local/lib/libuv.a
/usr/local/lib/libuv.so.1.0.0
/usr/local/lib/pkgconfig/libuv.pc
/usr/include/sys/libuvfs_ki.h
/usr/include/libuvfs.h
/usr/lib/amd64/libuvfs.so
/usr/lib/amd64/libuvfs.so.1

I am not clear how to fix this--seems like the ./configure command needs an option to discover libuv but I am not sure.
Any help would be appreciated.


Jim
Ondřej Surý
2020-05-27 16:06:12 UTC
Permalink
Jim,
You should evaluate the contents of config.log file for proper diagnostics.
That said, you are most probably missing pkg-config configuration, try setting PKG_CONFIG_PATH environment variable to a directory where libuv.pc resides.
pkg-config --list-all should list libuv.
e.g. try

$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$ pkg-config --list-all | grep libuv

It should say something like this:

libuv libuv - multi-platform support library with a focus on asynchronous I/O.

If that doesn’t work, you really need to look into config.log, it has all or most of the information needed to properly debug the issue.

Ondrej
--
Ondřej SurÃœ
Solaris Unix x86 64 bit VM on VMware
I discovered a new dependency: libuv. libuv also has dependencies: automake m4 libtool autoconf. I installed the dependencies, then tried installing various versions of libuv using sh autogen.sh -- then ./configure - make - make check - make install to install libuv. Back to installing BIND 9.16.3: ./configure > received an error: 'configure: error: libuv not found'. I had tried installing libuv 1.0.0. 1.38.0. and 1.9.1 --same result.
$ find / -name libuv* -print
/usr/local/lib/libuv.so
/usr/local/lib/libuv.la
/usr/local/lib/libuv.so.1
/usr/local/lib/libuv.a
/usr/local/lib/libuv.so.1.0.0
/usr/local/lib/pkgconfig/libuv.pc
/usr/include/sys/libuvfs_ki.h
/usr/include/libuvfs.h
/usr/lib/amd64/libuvfs.so
/usr/lib/amd64/libuvfs.so.1
I am not clear how to fix this--seems like the ./configure command needs an option to discover libuv but I am not sure.
Any help would be appreciated.
Jim
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
DeCaro, James John (Jim) CIV DISA FE (USA)
2020-05-27 18:22:13 UTC
Permalink
I ran $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig and pkg-config --list-all | grep libuv and got the desired results

Since I had tried so many casual fixes in the working directory, I decided to try over again so I deleted it and 'un-tared' the original bind-9.16.3 directory. I ran configure with these options:
./configure --enable-full-report --enable-largefile --with-tuning=large --with-openssl=/usr/local --sysconfdir=/etc --localstatedir=/var --with-gssapi=krb5-config --with-libtool --enable-fixed-rrset

The configure ran with no errors (thank you)

Tried running make and it mostly compiled until the end when I got these errors:

ld.so.1: gen: fatal: libuv.so.1: open failed: No such file or directory
sh: 9085: Killed
*** Error code 1
make: Fatal error: Command failed for target `include/dns/enumtype.h'
Current working directory /tools/DNS_BIND/bind-9.16.3/lib/dns
*** Error code 1
make: Fatal error: Command failed for target `include'
Current working directory /tools/DNS_BIND/bind-9.16.3/lib/dns
*** Error code 1
The following command caused the error:
for i in isc isccc dns ns isccfg bind9 irs samples nulldir; do \
if [ "$i" != "nulldir" -a -d $i ]; then \
echo "making all in `pwd`/$i"; \
(cd $i; make DESTDIR="" all) || exit 1; \
fi; \
done
make: Fatal error: Command failed for target `subdirs'
Current working directory /tools/DNS_BIND/bind-9.16.3/lib
*** Error code 1
The following command caused the error:
for i in make lib fuzz bin doc nulldir; do \
if [ "$i" != "nulldir" -a -d $i ]; then \
echo "making all in `pwd`/$i"; \
(cd $i; make DESTDIR="" all) || exit 1; \
fi; \
done
make: Fatal error: Command failed for target `subdirs'

I am not sure why it will not create or find the directories from that code. <ld.so.1: gen: fatal: libuv.so.1: open failed: No such file or directory
sh: 9085: Killed> libuv.so.1 is located in /usr/local/lib/libuv.so.1 --not sure why it will not find this since I added the path using the export command.

What am I missing please?

Thanks

V/R
Jim DeCaro
DISA
Systems Administrator
Windows and Unix Server Operations
FE222/DoDNet Service Section
Defense Enclave Services Directorate
☎ 301-225-8180
☎ 301-375-8180
***@mail.mil
***@mail.smil.mil

"If you always do what you always did you will always get what you always got."


-----Original Message-----
From: DeCaro, James John (Jim) CIV DISA FE (USA)
Sent: Wednesday, May 27, 2020 1:28 PM
To: 'Ondřej Surý' <***@isc.org>
Subject: RE: [Non-DoD Source] Re: Upgrading from BIND 9.14.9 to 9.16.3

The export command worked as you outlined. When I try the ./configure again, I get another error:
./configure: line 14516: syntax error at line 14743: `(' unexpected

I am not sure where it is finding line 14516, and I do not see this error in the config.log. Internet searches are confusing. Any help is appreciated.

Sorry this is so challenging


V/R
Jim DeCaro


-----Original Message-----
From: Ondřej Surý <***@isc.org>
Sent: Wednesday, May 27, 2020 12:06 PM
To: DeCaro, James John (Jim) CIV DISA FE (USA) <***@mail.mil>
Cc: bind-***@lists.isc.org; Dawson, Keith A CIV DISA FE (USA) <***@mail.mil>; Mcallister, Reginald CTR DISA FE (USA) <***@mail.mil>
Subject: [Non-DoD Source] Re: Upgrading from BIND 9.14.9 to 9.16.3

All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.




----

Jim,
You should evaluate the contents of config.log file for proper diagnostics.
That said, you are most probably missing pkg-config configuration, try setting PKG_CONFIG_PATH environment variable to a directory where libuv.pc resides.
pkg-config --list-all should list libuv.
e.g. try

$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$ pkg-config --list-all | grep libuv

It should say something like this:

libuv libuv - multi-platform support library with a focus on asynchronous I/O.

If that doesn’t work, you really need to look into config.log, it has all or most of the information needed to properly debug the issue.

Ondrej
--
Ondřej Surý
Solaris Unix x86 64 bit VM on VMware
I discovered a new dependency: libuv. libuv also has dependencies: automake m4 libtool autoconf. I installed the dependencies, then tried installing various versions of libuv using sh autogen.sh -- then ./configure - make - make check - make install to install libuv. Back to installing BIND 9.16.3: ./configure > received an error: 'configure: error: libuv not found'. I had tried installing libuv 1.0.0. 1.38.0. and 1.9.1 --same result.
$ find / -name libuv* -print
/usr/local/lib/libuv.so
/usr/local/lib/libuv.la
/usr/local/lib/libuv.so.1
/usr/local/lib/libuv.a
/usr/local/lib/libuv.so.1.0.0
/usr/local/lib/pkgconfig/libuv.pc
/usr/include/sys/libuvfs_ki.h
/usr/include/libuvfs.h
/usr/lib/amd64/libuvfs.so
/usr/lib/amd64/libuvfs.so.1
I am not clear how to fix this--seems like the ./configure command needs an option to discover libuv but I am not sure.
Any help would be appreciated.
Jim
_______________________________________________
Please visit Caution-https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at Caution-https://www.isc.org/contact/ for more information.
bind-users mailing list
Caution
Ondřej Surý
2020-05-27 18:39:37 UTC
Permalink
Jim, you need to read up on how to setup the system dynamic linker to add extra directories with libraries.

Searching for “library path Solaris” shows this as one of the first links: https://docs.oracle.com/cd/E19205-01/819-5262/aeude/index.html

Ondrej
--
Ondřej SurÃœ — ISC
I ran $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig and pkg-config --list-all | grep libuv and got the desired results
./configure --enable-full-report --enable-largefile --with-tuning=large --with-openssl=/usr/local --sysconfdir=/etc --localstatedir=/var --with-gssapi=krb5-config --with-libtool --enable-fixed-rrset
The configure ran with no errors (thank you)
ld.so.1: gen: fatal: libuv.so.1: open failed: No such file or directory
sh: 9085: Killed
*** Error code 1
make: Fatal error: Command failed for target `include/dns/enumtype.h'
Current working directory /tools/DNS_BIND/bind-9.16.3/lib/dns
*** Error code 1
make: Fatal error: Command failed for target `include'
Current working directory /tools/DNS_BIND/bind-9.16.3/lib/dns
*** Error code 1
for i in isc isccc dns ns isccfg bind9 irs samples nulldir; do \
if [ "$i" != "nulldir" -a -d $i ]; then \
echo "making all in `pwd`/$i"; \
(cd $i; make DESTDIR="" all) || exit 1; \
fi; \
done
make: Fatal error: Command failed for target `subdirs'
Current working directory /tools/DNS_BIND/bind-9.16.3/lib
*** Error code 1
for i in make lib fuzz bin doc nulldir; do \
if [ "$i" != "nulldir" -a -d $i ]; then \
echo "making all in `pwd`/$i"; \
(cd $i; make DESTDIR="" all) || exit 1; \
fi; \
done
make: Fatal error: Command failed for target `subdirs'
I am not sure why it will not create or find the directories from that code. <ld.so.1: gen: fatal: libuv.so.1: open failed: No such file or directory
sh: 9085: Killed> libuv.so.1 is located in /usr/local/lib/libuv.so.1 --not sure why it will not find this since I added the path using the export command.
What am I missing please?
Thanks
V/R
Jim DeCaro
DISA
Systems Administrator
Windows and Unix Server Operations
FE222/DoDNet Service Section
Defense Enclave Services Directorate
☎ 301-225-8180
☎ 301-375-8180
"If you always do what you always did you will always get what you always got."
-----Original Message-----
From: DeCaro, James John (Jim) CIV DISA FE (USA)
Sent: Wednesday, May 27, 2020 1:28 PM
Subject: RE: [Non-DoD Source] Re: Upgrading from BIND 9.14.9 to 9.16.3
./configure: line 14516: syntax error at line 14743: `(' unexpected
I am not sure where it is finding line 14516, and I do not see this error in the config.log. Internet searches are confusing. Any help is appreciated.
Sorry this is so challenging
V/R
Jim DeCaro
-----Original Message-----
Sent: Wednesday, May 27, 2020 12:06 PM
Subject: [Non-DoD Source] Re: Upgrading from BIND 9.14.9 to 9.16.3
All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.
----
Jim,
You should evaluate the contents of config.log file for proper diagnostics.
That said, you are most probably missing pkg-config configuration, try setting PKG_CONFIG_PATH environment variable to a directory where libuv.pc resides.
pkg-config --list-all should list libuv.
e.g. try
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$ pkg-config --list-all | grep libuv
libuv libuv - multi-platform support library with a focus on asynchronous I/O.
If that doesn’t work, you really need to look into config.log, it has all or most of the information needed to properly debug the issue.
Ondrej
--
Ondřej SurÃœ
Solaris Unix x86 64 bit VM on VMware
I discovered a new dependency: libuv. libuv also has dependencies: automake m4 libtool autoconf. I installed the dependencies, then tried installing various versions of libuv using sh autogen.sh -- then ./configure - make - make check - make install to install libuv. Back to installing BIND 9.16.3: ./configure > received an error: 'configure: error: libuv not found'. I had tried installing libuv 1.0.0. 1.38.0. and 1.9.1 --same result.
$ find / -name libuv* -print
/usr/local/lib/libuv.so
/usr/local/lib/libuv.la
/usr/local/lib/libuv.so.1
/usr/local/lib/libuv.a
/usr/local/lib/libuv.so.1.0.0
/usr/local/lib/pkgconfig/libuv.pc
/usr/include/sys/libuvfs_ki.h
/usr/include/libuvfs.h
/usr/lib/amd64/libuvfs.so
/usr/lib/amd64/libuvfs.so.1
I am not clear how to fix this--seems like the ./configure command needs an option to discover libuv but I am not sure.
Any help would be appreciated.
Jim
_______________________________________________
Please visit Caution-https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at Caution-https://www.isc.org/contact/ for more information.
bind-users mailing list
Caution-https://lists.isc.org/mailman/listinfo/bind-users
Michal Nowak
2020-05-28 09:12:33 UTC
Permalink
On 27/05/2020 20:22, DeCaro, James John (Jim) CIV DISA FE (USA) via
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
ld.so.1: gen: fatal: libuv.so.1: open failed: No such file or directory
...
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
$ find / -name libuv* -print
/usr/local/lib/libuv.so
/usr/local/lib/libuv.la
/usr/local/lib/libuv.so.1
/usr/local/lib/libuv.a
/usr/local/lib/libuv.so.1.0.0
Jim, I believe you installed 64-bit libuv to a 32-bit directory (i.e.
/usr/local/lib/) and that's why linker can't find it. You should have
installed libuv to the 64-bit directory (i.e. /usr/local/lib/amd64/),
e.g. via

./configure ... --libdir=/usr/local/lib/amd64

PKG_CONFIG_PATH should have been set to 64-bit path too, i.e.
/usr/local/lib/amd64/pkgconfig.

Michal
DeCaro, James John (Jim) CIV DISA FE (USA)
2020-05-28 15:54:10 UTC
Permalink
Thank you. amd64 does not exist in the /usr/local/lib/ directory. This is a Solaris 11.4 x86 64 bit system so that may be why. I will keep looking.

Thanks again


V/R
Jim DeCaro
DISA
Systems Administrator
Windows and Unix Server Operations
FE222/DoDNet Service Section
Defense Enclave Services Directorate
�� 301-225-8180
�� 301-375-8180
***@mail.mil
***@mail.smil.mil

"If you always do what you always did you will always get what you always got."


-----Original Message-----
From: bind-users <bind-users-***@lists.isc.org> On Behalf Of Michal Nowak
Sent: Thursday, May 28, 2020 5:13 AM
To: bind-***@lists.isc.org
Subject: Re: [Non-DoD Source] Re: Upgrading from BIND 9.14.9 to 9.16.3

All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.




----

On 27/05/2020 20:22, DeCaro, James John (Jim) CIV DISA FE (USA) via
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
ld.so.1: gen: fatal: libuv.so.1: open failed: No such file or directory
...
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
$ find / -name libuv* -print
/usr/local/lib/libuv.so
/usr/local/lib/libuv.la
/usr/local/lib/libuv.so.1
/usr/local/lib/libuv.a
/usr/local/lib/libuv.so.1.0.0
Jim, I believe you installed 64-bit libuv to a 32-bit directory (i.e.
/usr/local/lib/) and that's why linker can't find it. You should have
installed libuv to the 64-bit directory (i.e. /usr/local/lib/amd64/),
e.g. via

./configure ... --libdir=/usr/local/lib/amd64

PKG_CONFIG_PATH should have been set to 64-bit path too, i.e.
/usr/local/lib/amd64/pkgconfig.

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

ISC funds the development of this software with paid support subscriptions. Contact us at Caution-https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-***@lists.isc.org
Caution-https://lists.isc.org/mailman/listinfo/bind-users
Jaco Lesch
2020-05-28 16:51:13 UTC
Permalink
Jim

I have compiled BIND 9.16.2 on Solaris 11.4 SPARC with "libuv", try and
set these 2 environment variables before running "./configure":
LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
PKG_CONFIG_PATH="/usr/lib/sparcv9/pkgconfig:/usr/local/lib/pkgconfig"

Regards

On 5/28/20 17:54, DeCaro, James John (Jim) CIV DISA FE (USA) via
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
Thank you. amd64 does not exist in the /usr/local/lib/ directory. This is a Solaris 11.4 x86 64 bit system so that may be why. I will keep looking.
Thanks again
V/R
Jim DeCaro
DISA
Systems Administrator
Windows and Unix Server Operations
FE222/DoDNet Service Section
Defense Enclave Services Directorate
☎ 301-225-8180
☎ 301-375-8180
"If you always do what you always did you will always get what you always got."
-----Original Message-----
Sent: Thursday, May 28, 2020 5:13 AM
Subject: Re: [Non-DoD Source] Re: Upgrading from BIND 9.14.9 to 9.16.3
All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.
----
On 27/05/2020 20:22, DeCaro, James John (Jim) CIV DISA FE (USA) via
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
ld.so.1: gen: fatal: libuv.so.1: open failed: No such file or directory
...
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
$ find / -name libuv* -print
/usr/local/lib/libuv.so
/usr/local/lib/libuv.la
/usr/local/lib/libuv.so.1
/usr/local/lib/libuv.a
/usr/local/lib/libuv.so.1.0.0
Jim, I believe you installed 64-bit libuv to a 32-bit directory (i.e.
/usr/local/lib/) and that's why linker can't find it. You should have
installed libuv to the 64-bit directory (i.e. /usr/local/lib/amd64/),
e.g. via
./configure ... --libdir=/usr/local/lib/amd64
PKG_CONFIG_PATH should have been set to 64-bit path too, i.e.
/usr/local/lib/amd64/pkgconfig.
Michal
_______________________________________________
Please visit Caution-https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at Caution-https://www.isc.org/contact/ for more information.
bind-users mailing list
Caution-https://lists.isc.org/mailman/listinfo/bind-users
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
--
---
Jaco Lesch
SAIX HLS
Email: ***@saix.net
Ondřej Surý
2020-05-28 18:59:58 UTC
Permalink
Jim,

I would like to point out that ISC does provide a commercial support on BIND 9 as a way to provide funding to develop BIND 9 as open source software. Please let me know if you are interested in hearing more and I can connect you to the sales team.

Cheers,
Ondrej
--
Ondřej Surý — ISC
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
Thank you. amd64 does not exist in the /usr/local/lib/ directory. This is a Solaris 11.4 x86 64 bit system so that may be why. I will keep looking.
Thanks again
V/R
Jim DeCaro
DISA
Systems Administrator
Windows and Unix Server Operations
FE222/DoDNet Service Section
Defense Enclave Services Directorate
☎ 301-225-8180
☎ 301-375-8180
"If you always do what you always did you will always get what you always got."
-----Original Message-----
Sent: Thursday, May 28, 2020 5:13 AM
Subject: Re: [Non-DoD Source] Re: Upgrading from BIND 9.14.9 to 9.16.3
All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.
----
Post by Michal Nowak
On 27/05/2020 20:22, DeCaro, James John (Jim) CIV DISA FE (USA) via
ld.so.1: gen: fatal: libuv.so.1: open failed: No such file or directory
...
Post by Michal Nowak
Post by DeCaro, James John (Jim) CIV DISA FE (USA)
$ find / -name libuv* -print
/usr/local/lib/libuv.so
/usr/local/lib/libuv.la
/usr/local/lib/libuv.so.1
/usr/local/lib/libuv.a
/usr/local/lib/libuv.so.1.0.0
Jim, I believe you installed 64-bit libuv to a 32-bit directory (i.e.
/usr/local/lib/) and that's why linker can't find it. You should have
installed libuv to the 64-bit directory (i.e. /usr/local/lib/amd64/),
e.g. via
./configure ... --libdir=/usr/local/lib/amd64
PKG_CONFIG_PATH should have been set to 64-bit path too, i.e.
/usr/local/lib/amd64/pkgconfig.
Michal
_______________________________________________
Please visit Caution-https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at Caution-https://www.isc.org/contact/ for more information.
bind-users mailing list
Caution-https://lists.isc.org/mailman/listinfo/bind-users
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
Loading...