portupgrades fail because of missing /usr/local/lib/liblzma.la
m.seaman at infracaninophile.co.uk
Wed Aug 3 11:54:40 UTC 2011
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 liblzma.so 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
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
liblzma.so 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
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110803/57787a78/signature.pgp
More information about the freebsd-questions