Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2007 16:21:12 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Chris Knipe <savage@savage.za.org>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD 6.1 - libltdl
Message-ID:  <20070203222112.GB37689@dan.emsphone.com>
In-Reply-To: <000501c747ce$8e1eb280$0a01a8c0@cenergynetworks.com>
References:  <000501c747ce$8e1eb280$0a01a8c0@cenergynetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070203222112.GB37689>