Date: Fri, 30 Jul 1999 02:07:07 -0400 From: Andrew Arensburger <arensb@cfar.umd.edu> To: Brian Bell <bmbell@primenet.com> Cc: questions@FreeBSD.ORG Subject: Re: gd 1.3 install Message-ID: <199907300607.CAA21761@glitnir.cfar.umd.edu> In-Reply-To: Your message of "Thu, 29 Jul 1999 16:50:47 PDT." <37A0E8D7.EE25F990@primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907300607.CAA21761>