Question
Error "undefined symbol: GeoIP_country_code_by_ipnum_v6" on bind9 install.
Error during installation of bind9
Ubuntu version 14.04 64-bit.
$ sudo apt-get install bind9 dnsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
dnsutils is already the newest version.
Suggested packages:
bind9-doc
The following NEW packages will be installed:
bind9 bind9utils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 433 kB of archives.
After this operation, 1,634 kB of additional disk space will be used.
Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main bind9utils amd 64 1:9.9.5.dfsg-3ubuntu0.8 [146 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main bind9 amd64 1: 9.9.5.dfsg-3ubuntu0.8 [287 kB]
Fetched 433 kB in 0s (4,701 kB/s)
Preconfiguring packages ...
Selecting previously unselected package bind9utils.
(Reading database ... 114923 files and directories currently installed.)
Preparing to unpack .../bind9utils_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking bind9utils (1:9.9.5.dfsg-3ubuntu0.8) ...
Selecting previously unselected package bind9.
Preparing to unpack .../bind9_1%3a9.9.5.dfsg-3ubuntu0.8_amd64.deb ...
Unpacking bind9 (1:9.9.5.dfsg-3ubuntu0.8) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Setting up bind9utils (1:9.9.5.dfsg-3ubuntu0.8) ...
Setting up bind9 (1:9.9.5.dfsg-3ubuntu0.8) ...
Adding group `bind' (GID 127) ...
Done.
Adding system user `bind' (UID 116) ...
Adding new user `bind' (UID 116) with group `bind' ...
Not creating home directory `/var/cache/bind'.
rndc-confgen: symbol lookup error: /usr/lib/libdns.so.100: undefined symbol: Geo IP_country_code_by_ipnum_v6
dpkg: error processing package bind9 (--configure):
subprocess installed post-installation script returned error exit status 127
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Errors were encountered while processing:
bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can anybody help? Is something wrong with libdns?
Packages checked for consistency using
sudo debsums -c
no problems found.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hi,
Can you try:
sudo dpkg install --reinstall bind9
and then run
sudo apt-get install -f
That might help the install finish.
It also may be an outdated/version-mismatched GeoIP install. Do you have a version of GeoIP in
/usr/lib/
?@BrookDO,
Thanks for suggestions.
I had an old version of GeoIP in /usr/local/lib.
After update to latest version of GeoIP from Maxmind
bind9 installs without problem.