Date: Mon, 29 Aug 2005 22:44:55 -0400 From: "James P. Howard, II" <jh@jameshoward.us> To: freebsd-questions@freebsd.org Subject: Unable to locate ports-installed library at compile-time Message-ID: <88a2333a050829194447715605@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I am trying to build an application that depends on libplot. Despite the fact libplot is installed (via ports), gcc is unable to find it at compile time: m1jph01@sedna:~/tmp$ touch foo.c m1jph01@sedna:~/tmp$ gcc -o foo foo.c -lplot /usr/bin/ld: cannot find -lplot m1jph01@sedna:~/tmp$ Here's some output from ldconfig showing it is there: m1jph01@sedna:~/tmp$ ldconfig -r | grep libplot 324:-lplot.4 =3D> /usr/local/lib/libplot.so.4 326:-lplotter.4 =3D> /usr/local/lib/libplotter.so.4 m1jph01@sedna:~/tmp$ Beyond this, everything seems to be in order. Has anyone seen this kind of situation or know of a solution? Thank you, James --=20 James P. Howard, II -- jh@jameshoward.us http://jameshoward.us/ -- 443-430-4050
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88a2333a050829194447715605>