Need some help: nslookup/host/dig fails on 'undefined symbol' uv_sleep

Hi All,

Several commands do not seem to work anymore:

thom@monolith:~$ host google.com
host: symbol lookup error: /lib/x86_64-linux-gnu/libisc-9.18.12-0ubuntu0.22.04.1-Ubuntu.so: undefined symbol: uv_sleep

thom@monolith:~$ nslookup google.com
nslookup: symbol lookup error: /lib/x86_64-linux-gnu/libisc-9.18.12-0ubuntu0.22.04.1-Ubuntu.so: undefined symbol: uv_sleep

thom@monolith:~$ dig google.com
dig: symbol lookup error: /lib/x86_64-linux-gnu/libisc-9.18.12-0ubuntu0.22.04.1-Ubuntu.so: undefined symbol: uv_sleep

On the other hand, this works:

ping google.com
PING google.com (142.251.36.46) 56(84) bytes of data.
64 bytes from ams17s12-in-f14.1e100.net (142.251.36.46): icmp_seq=1 ttl=60 time=7.84 ms

Extra info:

  1. DNS resolving works without a hitch except for the three commands mentioned above
  2. libuv1 is installed (also reinstalled)
  3. ufw is installed, standard policy
  4. Kernelversion: 5.19.0-41-generic
  5. NetworkManagerversion: 1.36.6

I tried to troubleshoot it by first trying to install bind9 but the apt-post-installation script errored out (127) which surprised me a lot.

Any idea how to troubleshoot this one ?

1 Like

OK, I have found the problem :smiley:

There was a residual libuv.so, libuv.a, a libuv.sh and some residual links related to libuv.so in /usr/local/lib/
Where they came from is a bit of a mystery, but I deleted all libuv related entries from '/usr/local/lib/' and everything works like a charm again.

I'll leave the posts plus solution here, in case someone else runs into the same issue. :slight_smile:

2 Likes