Can't find -ldl ...
Dan Nelson
dnelson at allantgroup.com
Sat Sep 20 16:10:10 PDT 2003
In the last episode (Sep 20), Joe Sotham said:
> 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
It's a resin problem. FreeBSD does not have libdl. The dlopen()
family of functions are included in libc. Remove -ldl from the
Makefile and report this bug to the Resin coders.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list