[Clc-crux64] libpng - missing libz & libm references

Daniel Mueller daniel at danm.de
Sat Jul 16 18:04:04 UTC 2005


Hi, 

I think I've found a small bug in the current libpng port. The
32bit-version binds to libmath (-lm) and zlib (-lz):

danm at torax:~$ ldd /chroot32/usr/lib/libpng.so
        linux-gate.so.1 =>  (0xffffe000)
-->     libm.so.6 => /lib32/libm.so.6 (0x5559e000)
-->     libz.so.1 => /usr/lib32/libz.so.1 (0x555c1000)
        libc.so.6 => /lib32/libc.so.6 (0x555d2000)
        /lib/ld-linux.so.2 (0x56555000)

The 64bit-version has no references to those libraries. 

danm at torax:~$ ldd /usr/lib/libpng.so
        libc.so.6 => /lib/libc.so.6 (0x00002aaaaabec000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

I've attached an updated port. Maybe some of you will find it useful. I
came across this problem while trying to compile SLiM.

bye, danm

-- 
Daniel Mueller          http://www.danm.de
Berlin, Germany         OpenPGP: 1024D/E4F4383A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpng.prt.tar.gz
Type: application/x-gunzip
Size: 1330 bytes
Desc: not available
URL: <http://lists.crux.nu/pipermail/crux64/attachments/20050716/c6abab42/attachment.gz>


More information about the crux64 mailing list