pkg 1.6.1 doesn compile

Matthew Seaman matthew at
Tue Sep 29 15:28:12 UTC 2015

On 09/29/15 16:01, Luciano Mannucci wrote:
> I'm trying to compile pkg from the ports on a 9.3 ppc system.
> LD complains about an undefined reference to archive_read_support_filter_all
> in pkg.c and a lot of other undefined references in packing.c, pkg_audit.c
> and pkg_repo.c (archive_write_add_filter_xz, the same ending in _gzip,
> _none, _bzip2, pkg_audit_sandboxed_exrtract, 
> pkg_repo_meta_extract_signature_fingerprints, ...)
> It looks like missing libraries, but wich ones?

Looks like you are missing at minimum.  Which is odd,
because libarchive should be in the base system.

Even odder, the missing pkg_audit_sandboxed_extract and
pkg_repo_meta_extract_signature_fingerprints symbols are *local* to some
of the C code files -- the loader being unable to find a function that
is defined and then called from within the same file is pretty dire.

Looks to me that your toolchain may be having some problems...



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the freebsd-ports mailing list