Date: Sat, 20 Sep 2003 14:02:42 -0700 (PDT) From: Joe Sotham <joe@dubium.com> To: freebsd-questions@freebsd.org Subject: Can't find -ldl ... Message-ID: <49250.192.168.0.1.1064091762.squirrel@mail.dubium.com>
next in thread | raw e-mail | index | archive | help
I am trying to build resin on a FreeBSD 5.1-p2 release. This does not
appear to be a resin problem ...
I've modified the environment to search additional lib locations:
LDFLAGS=-L/usr/compat/linux/lib -L/usr/local/lib
Yet the following compile fails because a library can't be found:
gcc -L/usr/compat/linux/lib -L/usr/local/lib -o resin resin.o
../common/common.o std.o memory.o ssl_stub.o -lc_r -lssl
-lcrypto -ldl
/usr/libexec/elf/ld: cannot find -ldl
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>
I didn't find any usefull hints in googlizing on
"/usr/libexec/elf/ld: cannot find"
Any suggestions?
--
Joe Sotham
------------
praxis makes perfect.
- anon
--
Joe Sotham
------------
praxis makes perfect.
- anon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49250.192.168.0.1.1064091762.squirrel>
