/usr/bin/ld: cannot find -ldl

/usr/bin/ld: cannot find -ldl
collect2: error: ld returned 1 exit status

while building (make a c/go project) I get this error and cannot find any libdl.so ?
What package do I need to install ?

I'm having the same issue

may be this could help : https://github.com/mattn/go-sqlite3/issues/509

I have reported the problem here : https://discourse.crowdsec.net/t/usr-bin-ld-cannot-find-ldl/143

Partially resolved (PoC) in tests of compilation directly on OpenWrt…

I Will do a patch soon to make a PR for OpenWrt/ToolChain/BinUtils…

We need to support the gold-linker ;

May also be relative to
So, this could be of help ;

Which refer to ;