Subject: problem finding libz
To: None <>
From: Georg Schwarz <>
List: tech-pkg
Date: 10/16/2004 17:38:23
After upgrading to zlib-1.2.1nb3 I face the problem that packages such
as pkgsrc/devel/p5-Compress-Zlib do not find -lz during compilation:

LD_RUN_PATH="/usr/local/pkg/lib" ../../work/.wrapper/bin/ld -rpath
"/usr/local/pkg/lib" -shared -L/usr/local/pkg/lib Zlib.o
-Wl,-rpath,/usr/local/pkg/lib -o blib/arch/auto/Compress/Zlib/
-L/usr/local/pkg/lib -lz
Can't locate file for: -lz

And indeed pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib contains, not libz.a or*. Why aren't these libraries copied or
linked there any more during the wrapper (?) phase?
Is it a bug in the new ../../devel/zlib/

BTW, the system is IRIX 5.3, which does not have a native zlib. 

Georg Schwarz     +49 177 8811442