From owner-freebsd-questions Thu Jul 29 23: 7:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from glitnir.cfar.umd.edu (glitnir.cfar.umd.edu [128.8.132.40]) by hub.freebsd.org (Postfix) with ESMTP id 14CDB14D84 for ; Thu, 29 Jul 1999 23:07:53 -0700 (PDT) (envelope-from arensb@cfar.umd.edu) Received: from glitnir.cfar.umd.edu (localhost [127.0.0.1]) by glitnir.cfar.umd.edu (8.9.3/8.9.1) with ESMTP id CAA21761; Fri, 30 Jul 1999 02:07:07 -0400 (EDT) Message-Id: <199907300607.CAA21761@glitnir.cfar.umd.edu> To: Brian Bell Cc: questions@FreeBSD.ORG Subject: Re: gd 1.3 install In-reply-to: Your message of "Thu, 29 Jul 1999 16:50:47 PDT." <37A0E8D7.EE25F990@primenet.com> Date: Fri, 30 Jul 1999 02:07:07 -0400 From: Andrew Arensburger Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 29 Jul 1999 16:50:47 PDT, Brian Bell wrote: > I am trying to install gd. It says when it configures that libpng > cannot be found. I have installed the package png and libpng.a was > installed. (libpng-1.03) What do i need to do to successfully install gd > 1.3? Thanks. When a port says that it requires some library foo, what it really does is run 'ldconfig -r | grep foo' (well, not quite, but that's the idea). This will fail if either a) the shared library (libpng.so*) wasn't installed, or b) 'ldconfig' wasn't told about it. (b) might happen if the libpng.so was installed in, say, /opt/lib, but /opt/lib isn't in $ldconfig_paths in /etc/rc.conf . You need to add /opt/lib to $ldconfig_paths, and rerun 'ldconfig' as per /etc/rc (if you don't feel like deciphering that script, you can reboot). If "libpng.a" was installed, but "libpng.so" wasn't, then you should be able to comment out the dependency line in the Makefile for the gd port. However, I wouldn't recommend this: the png port should install libpng.so; if it wasn't installed, then something went wrong. I'd recommend rebuilding and reinstalling the png port. -- Andrew Arensburger, Systems guy Center for Automation Research arensb@cfar.umd.edu University of Maryland I liked "Slaughterhouse 5," but I can't find the first four anywhere. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message