pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50213: pkgtool/pkg_install broken on multiple platforms



On Sun, Sep 06, 2015 at 06:45:00PM +0000, Sevan Janiyan wrote:
> The following reply was made to PR pkg/50213; it has been noted by GNATS.
> 
> From: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/50213: pkgtool/pkg_install broken on multiple platforms
> Date: Sun, 6 Sep 2015 19:42:54 +0100
> 
>  FreeBSD 11.0-CURRENT #1 r286782: Fri Aug 14 21:19:19 BST 2015, clang
>  3.6.1 (tags/RELEASE_361/final 237755) 20150525
>  clang -lssl -lcrypto
>  -L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
>  -L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgpverify
>  -L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat
>  -L/usr/lib -Wl,-R/usr/lib -Wl,-R/home/sme/npgp/lib -L../lib -o pkg_add
>  main.o perform.o -linstall -larchive -lfetch -lnetpgpverify -lssl
>  -lcrypto -lnbcompat
>  /usr/bin/ld: undefined reference to symbol `inflateInit2_@@ZLIB_1.2.4.0'
>  (try adding -lz)
>  //lib/libz.so.6: could not read symbols: Bad value
>  clang: error: linker command failed with exit code 1 (use -v to see
>  invocation)
>  *** [pkg_add] Error code 1

This one is a confusion of which libz to use -- the local build (which
would indicate USE_BUILTIN.zlib failed) or the system version.

Joerg


Home | Main Index | Thread Index | Old Index