FreeBSD 6.1 - libltdl
Dan Nelson
dnelson at allantgroup.com
Sat Feb 3 22:21:16 UTC 2007
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 at 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 at allantgroup.com
More information about the freebsd-questions
mailing list