Date: Wed, 3 Aug 2011 12:00:15 +0200 From: Ewald Jenisch <a@jenisch.at> To: <freebsd-questions@freebsd.org> Subject: portupgrades fail because of missing /usr/local/lib/liblzma.la Message-ID: <20110803100015.GA11662@aurora.oekb.co.at>
next in thread | raw e-mail | index | archive | help
Hi, 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/liblzma.la: 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 /usr/local/lib? When installing the xz-libraries from the ports, i.e. pkg_add -r -f xz and 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 supported: # pwd /usr/ports/archivers/xz # 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 xz-libraries? Thanks much in advance for any clue, -ewald
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110803100015.GA11662>