From owner-freebsd-questions@FreeBSD.ORG Thu Jan 26 17:18:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 913D416A420 for ; Thu, 26 Jan 2006 17:18:58 +0000 (GMT) (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 68F0143D48 for ; Thu, 26 Jan 2006 17:18:57 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id k0QHIsOC096128; Thu, 26 Jan 2006 11:18:54 -0600 (CST) (envelope-from dan) Date: Thu, 26 Jan 2006 11:18:54 -0600 From: Dan Nelson To: Paul Schmehl Message-ID: <20060126171851.GC52542@dan.emsphone.com> References: <3EA9A5749CCE92F90AA269F4@utd59514.utdallas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EA9A5749CCE92F90AA269F4@utd59514.utdallas.edu> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: cannot find -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: Thu, 26 Jan 2006 17:18:58 -0000 In the last episode (Jan 26), Paul Schmehl said: > I'm fiddling with an app that was probably written for/on Linux. It > configures fine, but when I make, I get the error "cannot find -ldl". Is > there a FreeBSD equivalent for libldl? A workaround? A library that I'm > missing? It's not needed on FreeBSD. The dlopen family of functions is in libc. The configure script should probably have something like this in it so it only uses libdl if it can't find dlopen with its current set of libs:: AC_SEARCH_LIBS(dlopen, dl) -- Dan Nelson dnelson@allantgroup.com