Date: Sun, 25 Nov 2001 11:41:29 +0100 (CET) From: Simon J Mudd <sjmudd@pobox.com> To: <freebsd-questions@freebsd.org> Subject: gv port builds but fails - needing libpng.so.4 (?) Message-ID: <Pine.LNX.4.33.0111251130400.13547-100000@phoenix.ea4els.ampr.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0111251130400.13547-100000>
