libisc-9.16.15-Debian.so: undefined symbol: uv_udp_connect

Maihöfer philipp42 at pm.me
Thu Sep 30 22:03:31 UTC 2021


Hi Petr,
hey Ondrej,

something is missing.

philipp at log$ ldd /usr/lib/x86_64-linux-gnu/libisc-9.16.15-Debian.so |
grep libuv
        libuv.so.1 => /usr/local/lib/libuv.so.1 (0x00007fd42d2e3000)
philipp at log$ readelf --dyn-syms /usr/local/lib/libuv.so.1 | grep
uv_udp_connect
philipp at log$

The LD_DEBUG Command lists the libuv.so.1 twice:

    150047:     file=librt.so.1 [0];  needed by
/usr/local/lib/libuv.so.1 [0]
    150047:     file=librt.so.1 [0];  generating link map
    150047:       dynamic: 0x00007ff64429fda8  base:
0x00007ff644296000   size: 0x000000000000abe0
    150047:         entry: 0x00007ff6442993b0  phdr: 0x00007ff644296040 
phnum:                  9
    150047:
    150047:
    150047:     file=libnsl.so.1 [0];  needed by
/usr/local/lib/libuv.so.1 [0]
    150047:     file=libnsl.so.1 [0];  generating link map
    150047:       dynamic: 0x00007ff644292d80  base:
0x00007ff64427c000   size: 0x0000000000019a50
    150047:         entry: 0x00007ff644281680  phdr: 0x00007ff64427c040 
phnum:                  9
    150047:
--

Removing libuv.so.1 from /usr/local/lib/ seems resolving the problem.
Bind9 starts again and host / dig runs fine.

How did it come there in the first place?

Best regards
Philipp
Am 30.09.2021 um 15:13 schrieb Ondřej Surý:
> Using ldd is a good debugging step, but I would start with deleting the obsolete
> copy of libuv from /usr/local. That helps in 99% of cases like this.
>
>> Either packagers on Debian made mistake
> Definitely not ;-)
>
> Ondrej.
> --
> Ondřej Surý (He/Him)
> ondrej at isc.org
>
>> On 30. 9. 2021, at 14:39, Petr Menšík <pemensik at redhat.com> wrote:
>>
>> Can you check with ldd whether libuv is explicitly set on libisc library?
>>
>> ldd /usr/lib/x86_64-linux-gnu/libisc-9.16.15-Debian.so
>>
>> It works on Fedora just fine:
>>
>> ldd /usr/lib64/libisc-9.16.21-RH.so | grep libuv
>>     libuv.so.1 => /lib64/libuv.so.1 (0x00007f4bf7716000)
>>
>> readelf --dyn-syms /lib64/libuv.so.1 | grep uv_udp_connect
>>    462: 000000000000f490   417 FUNC    GLOBAL DEFAULT   13 uv_udp_connect
>>
>> Dependencies on packaging system should ensure libuv cannot be uninstalled without uninstalling dnsutils first. Either packagers on Debian made mistake or some of your files are corrupted.
>>
>> Can you try command:
>>
>> LD_DEBUG=files host --help
>>
>> It should list libuv.so.1 in the process, therefore this error cannot happen.
>>
>> Regards,
>> Petr
>>
>> On 9/29/21 23:30, Maihöfer via bind-users wrote:
>>> Hi,
>>>
>>> for whatever reason my bind, or anything related to that library, is not
>>> starting anymore
>>>
>>> error is:
>>>
>>>
>>> philipp at sources.list.d$
>>>  dig
>>> dig: symbol lookup error:
>>> /usr/lib/x86_64-linux-gnu/libisc-9.16.15-Debian.so: undefined symbol:
>>> uv_udp_connect
>>>
>>> philipp at sources.list.d$
>>>
>>>
>>> Having the same error message with "host" or "named-rrchecker".
>>>
>>> I am running a Debian 11 (Bullseye)
>>>
>>> Any help, please?
>>>
>>> Best regards
>>>
>>> Philipp
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>> bind-users at lists.isc.org
>>> https://lists.isc.org/mailman/listinfo/bind-users
>> --
>> Petr Menšík
>> Software Engineer
>> Red Hat,
>> http://www.redhat.com/
>>
>> email:
>> pemensik at redhat.com
>>
>> PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
>>
>> _______________________________________________
>> 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
>> bind-users at lists.isc.org
>> 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
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 509 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20210930/71929c4c/attachment-0001.bin>


More information about the bind-users mailing list