From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 14:02:45 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 5078816A4B3 for ; Sat, 20 Sep 2003 14:02:45 -0700 (PDT) Received: from mail.dubium.com (h24-82-130-8.vn.shawcable.net [24.82.130.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2252643FE9 for ; Sat, 20 Sep 2003 14:02:44 -0700 (PDT) (envelope-from joe@dubium.com) Received: (qmail 28395 invoked from network); 20 Sep 2003 21:02:42 -0000 Received: from localhost (HELO sigfried.dubium.com) ([127.0.0.1]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 20 Sep 2003 21:02:42 -0000 Received: from mail.dubium.com (sigfried.dubium.com [192.168.0.201]) by sigfried.dubium.com (tmda-ofmipd) with ESMTP; Sat, 20 Sep 2003 14:02:42 -0700 (PDT) Received: from 192.168.0.1 (SquirrelMail authenticated user joe@dubium.com) by mail.dubium.com with HTTP; Sat, 20 Sep 2003 14:02:42 -0700 (PDT) Message-ID: <49250.192.168.0.1.1064091762.squirrel@mail.dubium.com> Date: Sat, 20 Sep 2003 14:02:42 -0700 (PDT) To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal From: Joe Sotham X-Delivery-Agent: TMDA/0.83 (Iron Liege) X-TMDA-Fingerprint: oLBouzet1djOTE4vXdMud0EyqaU Subject: 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 21:02:45 -0000 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 Despite the library appearing to be located in the expected location: #ls /usr/compat/linux/lib/ libdl-2.2.4.so libdl.so.2 I didn't find any usefull hints in googlizing on "/usr/libexec/elf/ld: cannot find" Any suggestions? -- Joe Sotham ------------ praxis makes perfect. - anon -- Joe Sotham ------------ praxis makes perfect. - anon