From owner-freebsd-questions@FreeBSD.ORG Sat Feb 3 22:21:16 2007 Return-Path: X-Original-To: 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 A93F716A406 for ; Sat, 3 Feb 2007 22:21:16 +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 350FB13C491 for ; Sat, 3 Feb 2007 22:21:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id l13MLCVQ088097; Sat, 3 Feb 2007 16:21:12 -0600 (CST) (envelope-from dan) Date: Sat, 3 Feb 2007 16:21:12 -0600 From: Dan Nelson To: Chris Knipe Message-ID: <20070203222112.GB37689@dan.emsphone.com> References: <000501c747ce$8e1eb280$0a01a8c0@cenergynetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c747ce$8e1eb280$0a01a8c0@cenergynetworks.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.13 (2006-08-11) Cc: questions@freebsd.org Subject: Re: FreeBSD 6.1 - libltdl 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: Sat, 03 Feb 2007 22:21:16 -0000 In the last episode (Feb 03), Chris Knipe said: > Can anyone shed some light perhaps as to why GCC is not seeing libltdl ??? > > bash-2.05b# gcc -lltdl > /usr/bin/ld: cannot find -lltdl > bash-2.05b# ldconfig -r|grep ltdl > 115:-lltdl.4 => /usr/local/lib/libltdl.so.4 > bash-2.05b# pkg_info |grep ltdl > libltdl-1.5.22_1 System independent dlopen wrapper > bash-2.05b# uname -a > FreeBSD xxx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC > 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > bash-2.05b# Add "-L /usr/local/lib" to your gcc commandline. -- Dan Nelson dnelson@allantgroup.com