pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50188: pkgtools/pkg_install DragonFly 4.3 /usr/lib/libbz2.so.2: error adding symbols
The following reply was made to PR pkg/50188; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/50188: pkgtools/pkg_install DragonFly 4.3
/usr/lib/libbz2.so.2: error adding symbols
Date: Wed, 2 Sep 2015 09:38:07 +0200
On Wed, Sep 02, 2015 at 12:05:00AM +0000, davshao%gmail.com@localhost wrote:
> cc -lssl -lcrypto -L/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -L/usr/pkgsrc/pkgtools/pkg_install/work/netpgpverify -L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L../lib -o pkg_add main.o perform.o -linstall -larchive -lfetch -lnetpgpverify -lssl -lcrypto -lnbcompat
> /usr/libexec/binutils225/elf/ld.bfd: /usr/pkgsrc/pkgtools/pkg_install/work/netpgpverify/libnetpgpverify.a(libverify.o): undefined reference to symbol 'BZ2_bzDecompress@@BZ_1.0.6'
> /usr/lib/libbz2.so.2: error adding symbols: DSO missing from command line
> *** Error code 1
This looks like "-lbz2" should be on the link line. Can you add this manually and try again?
Thomas
Home |
Main Index |
Thread Index |
Old Index