Can't find -ldl ...

Kris Kennaway kris at obsecurity.org
Sat Sep 20 14:10:02 PDT 2003


On Sat, Sep 20, 2003 at 02:02:42PM -0700, Joe Sotham wrote:

>  /usr/libexec/elf/ld: cannot find -ldl

This is not a FreeBSD library.  The error is that your software is
trying to look for it in the first place.

> Despite the library appearing to be located in the expected location:
> 
> #ls /usr/compat/linux/lib/
>   <snip>
>   libdl-2.2.4.so libdl.so.2
>   <snip>

That is the expected location, but it's a Linux library and only used
for running Linux software, not FreeBSD.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030920/73a6d7c8/attachment.bin


More information about the freebsd-questions mailing list