From owner-freebsd-questions Sun Sep 12 13:54:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.prod.itd.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id 60A3714BC3 for ; Sun, 12 Sep 1999 13:54:22 -0700 (PDT) (envelope-from hubbardj@earthlink.net) Received: from tellico (1Cust122.tnt2.montgomery.al.da.uu.net [208.254.156.122]) by gull.prod.itd.earthlink.net (8.9.3/8.9.3) with SMTP id NAA07265 for ; Sun, 12 Sep 1999 13:54:20 -0700 (PDT) From: "Thatcher Hubbard" To: "'Freebsd-Questions" Subject: ld problems, I think Date: Sun, 12 Sep 1999 15:47:04 -0500 Message-ID: <000201befd5f$f8a2eca0$0500a8c0@tellico> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I'm having problems with my shared libraries on a recently cvsup'd 3.2-STABLE system. For some reason, ldconfig and ld dont' seem to want to find any libraries I've installed under /usr/local/lib. Specifically, I've installed, the gif, tiff, jpeg, and png libs from the ports collection so I can compile and install the new imlib (1.9.5). Initially, it wouldn't find any of the libraries when I ran the config script. After fooling with ldconfig for awhile and deleting config.cache it found them, but on attempting to build imlib it dies with an errror message like this : "ld -lgif : no such file or directory". When I type and 'ld -lgif' it gives me the same message, but if I do an 'ld -L/usr/local/lib -lgif' it complains about undefined functions or such like. I have my header files in /usr/local/include, what am I doing wrong here? I've gotten this stuff to build before, but my hard drive melted down last week, so I know it worked at some point. Any one care to enlighten me (no pun intended) on the vagaries of the shared library system? TIA, Thatcher Hubbard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message