Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2006 22:31:18 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        dima <7509107@mail.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: LINUX_LDLIBS  = -ldl
Message-ID:  <20070101043117.GC46561@dan.emsphone.com>
In-Reply-To: <20070101062346.P14736@iced.no-ip.org>
References:  <20070101003029.X2339@iced.no-ip.org> <20070101020649.GC83619@dan.emsphone.com> <20070101062346.P14736@iced.no-ip.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070101043117.GC46561>