From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 02:45:03 2005 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 EDBD616A41F for ; Tue, 30 Aug 2005 02:45:03 +0000 (GMT) (envelope-from howardjp@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8207A43D60 for ; Tue, 30 Aug 2005 02:44:59 +0000 (GMT) (envelope-from howardjp@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so661038nzo for ; Mon, 29 Aug 2005 19:44:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KYC8OaysseXkUyVS2kha5+DW+OjWZ5Yw6EMcBfiyjNMJ7JEsDsduCfHzi6V4yai7rlpxRV3aYNfCDdIBpk1I8RZ/pze2jqwm3hFaRYF/mwD/GBV9PjEAM0nGekEHXlGlU7ScyXbuHkKQOmSuEWp6gaMSD4IkO6GNmS6hIHZB/3I= Received: by 10.36.220.78 with SMTP id s78mr1374001nzg; Mon, 29 Aug 2005 19:44:55 -0700 (PDT) Received: by 10.36.251.43 with HTTP; Mon, 29 Aug 2005 19:44:55 -0700 (PDT) Message-ID: <88a2333a050829194447715605@mail.gmail.com> Date: Mon, 29 Aug 2005 22:44:55 -0400 From: "James P. Howard, II" Sender: howardjp@gmail.com To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Unable to locate ports-installed library at compile-time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jh@jameshoward.us List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 02:45:04 -0000 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