Subject: problem finding libz
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
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/Zlib.so
-L/usr/local/pkg/lib -lz
/usr/bin/../lib/ld:
Can't locate file for: -lz
And indeed pkgsrc/devel/p5-Compress-Zlib/work/.buildlink/lib contains
libz.la, not libz.a or libz.so*. Why aren't these libraries copied or
linked there any more during the wrapper (?) phase?
Is it a bug in the new ../../devel/zlib/buildlink3.mk?
BTW, the system is IRIX 5.3, which does not have a native zlib.
--
Georg Schwarz http://home.pages.de/~schwarz/
geos@epost.de +49 177 8811442