- Subject: [slang-users] Import Error with PNG module
- From: Laurent Perez <perez.l@xxxxxxx>
- Date: Tue, 18 Oct 2005 21:35:29 +0200
Hi,
I got this error when importing png module :
slsh> require ("png");
Error linking to /home/laurent//lib/slang/v2/modules/png-module.so:
/usr/lib/libpng.so.3: undefined symbol: deflate
/home/laurent/share/slsh/png.Sl:2:<top-level>:Import Error
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.
ldd png-module.so
libpng.so.3 => /usr/lib/libpng.so.3 (0x4001a000)
libz.so.1 => /usr/lib/libz.so.1 (0x4004c000)
libm.so.6 => /lib/libm.so.6 (0x4005d000)
libc.so.6 => /lib/libc.so.6 (0x40080000)
/lib/ld-linux.so.2 (0x80000000)
Laurent.
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]