LINUX_LDLIBS = -ldl

Dan Nelson dnelson at allantgroup.com
Sun Dec 31 20:31:19 PST 2006


In the last episode (Jan 01), dima said:
> On Sun, 31 Dec 2006, Dan Nelson wrote:
> 
> > > I'm trying to compile "TransConnect" 
> > > (http://sourceforge.net/projects/transconnect), but compilation 
> > > aborts with a message: /usr/libexec/elf/ld: cannot find -ldl
> 
> > The functions in Linux's libdl are in FreBSD's libc, so just remove
> > -ldl .
> 
> Remove or just chage to lc.6?
> lc.6 => /usr/lib/libc.so.6

Remove, since gcc always includes libc when linking executables.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list