Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2011 12:00:15 +0200
From:      Ewald Jenisch <>
To:        <>
Subject:   portupgrades fail because of missing /usr/local/lib/
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

On my 8.2-System (amd64, kernel & system updated two days ago) I run
into a nasty problem updating my ports:

Ports that depend on "liblzma" fail to build with the following error:

"/usr/local/lib/ No such file or directory"

AFAIK, the xz-libraries are not part of the base system; there is
indeed a /usr/lib/liblzma*, but why doesn't the build process for the
ports recognize it and insists on having the libraries in

When installing the xz-libraries from the ports, i.e. 

pkg_add -r -f xz
portupgrade -o archivers/xz lzmautils\*

upgrading my ports works, but this truly can't be the correct
solution, esp. since building xz out of the ports tree ins't

# pwd
# make
===>  xz-5.0.3 is already in the base system.
*** Error code 1

Stop in /usr/ports/archivers/xz.

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)

o) What can I do to get ports recognize the correct location of the

Thanks much in advance for any clue,

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