From owner-freebsd-questions@FreeBSD.ORG Mon Jan 1 04:31:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 087A716A40F for ; Mon, 1 Jan 2007 04:31:19 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id AED6913C45B for ; Mon, 1 Jan 2007 04:31:18 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id l014VIAV006870; Sun, 31 Dec 2006 22:31:18 -0600 (CST) (envelope-from dan) Date: Sun, 31 Dec 2006 22:31:18 -0600 From: Dan Nelson To: dima <7509107@mail.ru> Message-ID: <20070101043117.GC46561@dan.emsphone.com> References: <20070101003029.X2339@iced.no-ip.org> <20070101020649.GC83619@dan.emsphone.com> <20070101062346.P14736@iced.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070101062346.P14736@iced.no-ip.org> X-OS: FreeBSD 6.2-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: LINUX_LDLIBS = -ldl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2007 04:31:19 -0000 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