From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 16:10:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E1A816A4B3 for ; Sat, 20 Sep 2003 16:10:10 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11EAC43FE1 for ; Sat, 20 Sep 2003 16:10:09 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h8KNA39p061099; Sat, 20 Sep 2003 18:10:03 -0500 (CDT) (envelope-from dan) Date: Sat, 20 Sep 2003 18:10:03 -0500 From: Dan Nelson To: Joe Sotham Message-ID: <20030920231003.GB25633@dan.emsphone.com> References: <49250.192.168.0.1.1064091762.squirrel@mail.dubium.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49250.192.168.0.1.1064091762.squirrel@mail.dubium.com> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Can't find -ldl ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 23:10:10 -0000 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@allantgroup.com