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

Hi All,

Several commands do not seem to work anymore:

[email protected]:~$ host
host: symbol lookup error: /lib/x86_64-linux-gnu/ undefined symbol: uv_sleep

[email protected]:~$ nslookup
nslookup: symbol lookup error: /lib/x86_64-linux-gnu/ undefined symbol: uv_sleep

[email protected]:~$ dig
dig: symbol lookup error: /lib/x86_64-linux-gnu/ undefined symbol: uv_sleep

On the other hand, this works:

PING ( 56(84) bytes of data.
64 bytes from ( 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.a, a and some residual links related to 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: