Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Aug 2011 12:54:18 +0100
From:      Matthew Seaman <>
To:        Ewald Jenisch <>
Subject:   Re: portupgrades fail because of missing /usr/local/lib/
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 03/08/2011 11:00, Ewald Jenisch wrote:
> So here are my questions?
> o) Why doesn't the build process of ports recognize the xz-libraries
> in /usr/lib? (BTW, not even "make deinstall && make clean && make
> install" helps)

xz(1) and the associated libraries are now part of the base system in
stable/8 and above.

Actually it (the ports build process) does.  However, if you have a
version of installed from ports, autoconf will find that and
assume that's your preferred version to link against.

> o) What can I do to get ports recognize the correct location of the
> xz-libraries?

You should first get a list of all your installed ports that depend on
archivers/xz (pkg_info -Rx xz), then force delete the archivers/xz port
and then rebuild all the ports that linked against it.

Note that portupgrade(8) defaults to keeping a copy of the old shlib in /usr/local/lib/compat/pkg, and portmaster(8) will do
similarly if given the '-w' option:  this will allow un-rebuilt ports to
continue working during your upgrade, but shouldn't confuse the ports
build process.  Remember to delete the old shlib once you're done



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID:               Kent, CT11 9PW

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

Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla -



Want to link to this message? Use this URL: <>