From owner-freebsd-questions Sun Nov 25 2:41:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from 217-126-145-95.uc.nombres.ttd.es (217-126-145-95.uc.nombres.ttd.es [217.126.145.95]) by hub.freebsd.org (Postfix) with ESMTP id 9396537B405 for ; Sun, 25 Nov 2001 02:41:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by phoenix.ea4els.ampr.org (Postfix) with ESMTP id 4ED293D43 for ; Sun, 25 Nov 2001 11:41:29 +0100 (CET) Date: Sun, 25 Nov 2001 11:41:29 +0100 (CET) From: Simon J Mudd To: Subject: gv port builds but fails - needing libpng.so.4 (?) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I'm running 4.4-STABLE and am having problems with the gv port not working. I've just deleted the port and reinstalled it, and am now running gv-3.5.8. make install works. However when trying to view a postscript file I get the following error message from the gv X binary: GhostScript Messages /usr/libexec/ld-elf.so.1: Shared object "libpng.so.4" not found Error: Postscript interpreter failed in main window. I note that I have the port png-1.2.0 (Library for manipulating PNG images) installed and the ports packing list shows that it provides /usr/local/lib/libpng.so.5, not ".4". As I don't have a /usr/local/lib/libpng.so.4 library I am unsure why gv has tried to link against this version, as consequently doesn't work, when if it linked against libpng.so.5 everything would be working fine. I also note that ldd /usr/X11R6/bin/gv doesn't depend on the library directly, so perhaps the problem is that one of the libraries that it links against in turns requires libpng.so.4 [sjmudd@unicorn postfix-temp]$ ldd /usr/X11R6/bin/gv /usr/X11R6/bin/gv: libm.so.2 => /usr/lib/libm.so.2 (0x2809d000) libXaw3d.so.7 => /usr/X11R6/lib/libXaw3d.so.7 (0x280b9000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2810c000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28121000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x2816b000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28174000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2818a000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28198000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281a6000) libc.so.4 => /usr/lib/libc.so.4 (0x28280000) libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28319000) How can I tell which library is out of date (if this is the case) and rebuild it accordingly? Is this something I should reports to freebsd-ports or am I doing something wrong somewhere? Thanks for any pointers. Regards, Simon -- Simon J Mudd, Tel: +34-91-408 4878, Mobile: +34-605-085 219 Madrid, Spain. email: sjmudd@pobox.com, Postfix RPM Packager To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message