slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] Import Error with PNG module


Laurent Perez <perez.l@xxxxxxx> wrote:
>As far as I know, deflate is defined in the zlib library used by png. I
>don't know if it is a system error (Slackware 10.1) but changing the
>Makefile to force linking with zlib ( PNG_LIB =  -lpng -lz ) made a
>working png module.

I will add -lz to the Makefile for the next release.  FWIW, debian
sarge does not have this problem because of the way zlib was built and
installed:

# ldd /usr/lib/libpng.so.2
	libz.so.1 => /usr/lib/libz.so.1 (0x4002c000)
	libm.so.6 => /lib/tls/libm.so.6 (0x4003e000)
	libc.so.6 => /lib/tls/libc.so.6 (0x40061000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Thanks,
--John

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]