cannot find -ldl

Paul Schmehl pauls at utdallas.edu
Thu Jan 26 09:14:06 PST 2006


--On Thursday, January 26, 2006 17:05:52 +0000 Alex Zbyslaw 
<xfb52 at dial.pipex.com> wrote:

> Paul Schmehl wrote:
>
>> I'm fiddling with an app that was probably written for/on Linux.  It
>> configures fine, but when I make, I get the error "cannot find -ldl".
>> Is there a FreeBSD equivalent for libldl?  A workaround?  A library
>> that I'm missing?
>
> No direct answer for you, but the library you want is libdl not libldl,
> that might help you with googling.
>
That doesn't help with googling for the error message, however it solves my 
problem.

 locate libdl
/usr/X11R6/lib/plugins/designer/libdlgplugin.so
/usr/compat/linux/lib/libdl-2.3.2.so
/usr/compat/linux/lib/libdl.so.2

So I need to use linux compatibility mode.  Thanks.
> --Alex
>



Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


More information about the freebsd-questions mailing list