Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2015 16:27:48 +0100
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: pkg 1.6.1 doesn compile
Message-ID:  <560AADF4.1010906@freebsd.org>
In-Reply-To: <3nQP6p43gBzRRqT@baobab.bilink.it>
References:  <3nQP6p43gBzRRqT@baobab.bilink.it>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--0FKSfhPADgNL6PHUjPD0e7UttbGruPLml
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

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_filte=
r_all
> in pkg.c and a lot of other undefined references in packing.c, pkg_audi=
t.c
> and pkg_repo.c (archive_write_add_filter_xz, the same ending in _gzip,
> _none, _bzip2, pkg_audit_sandboxed_exrtract,=20
> pkg_repo_meta_extract_signature_fingerprints, ...)
> It looks like missing libraries, but wich ones?

Looks like you are missing libarchive.so 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...

	Cheers,

	Matthew




--0FKSfhPADgNL6PHUjPD0e7UttbGruPLml
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWCq30AAoJEABRPxDgqeTn+s8P/2VA3jeb2uhGh248a8sbseS4
er9nCW2HEoE1+tGajpDTlYsgxxUqIStW7Halo3W196WICJd1y8mQ0Bp2w48ybhWI
LHbuoqhJJPigNk8JqZjO7xGFm1917cK8guyeffgFQv6/82pJ56roNdkmrnp62ZB6
pXUTYcoHgQhzpMnw+SiyN6pKmCMrre0W5JXRXX+4IB2NdEWO0/xtTq0jslBxEQjk
M2kr4CCHJydCUMEAhpG1pEX53xJqkolN/DgXghIV/z2U7zCYF4p3nnhE5PnUWbzr
lbp4QtaQFIMR/bXhRjp5UorP5a8sjOua3ouXIqGDVrksW6+M/ETSzp/+ye/Fqdy5
x2kEqWhjR0YQwdqKNIJhH32zBTVs+mBDqcH1N+txJw6LZ/LftY6p38SeC9GB+eze
QtIkiupIRKhalG9I2n1w0AA2SN4BTHpU4j3Gzjik1qu484QG7e/7NEicNEWnfnni
NUJyYUaLzPg9/2irML2JyBPdLbdRnS5wObGebLusrpUjFD/+wWF/ti17cbMrJW2m
cIe3LQDVxVn8KEvTVIZL2KRQivu7UcTX38S70A/ZFhQxycQhicbHgRnVcGCl/bfo
P9ZinMDoD1LkYD18YYCWHBPECisbNtud7EBGASJuuCAkF/qSEO9VIOJjAnHtKwPU
B+GihR4UI5G+1Z1WxuDm
=1Fh1
-----END PGP SIGNATURE-----

--0FKSfhPADgNL6PHUjPD0e7UttbGruPLml--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560AADF4.1010906>