From owner-freebsd-questions@FreeBSD.ORG Wed Aug 3 10:29:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2D1B106564A for ; Wed, 3 Aug 2011 10:29:59 +0000 (UTC) (envelope-from prvs=1893f65f3=a@jenisch.at) Received: from mgaterz2.oekb.co.at (mgaterz2.oekb.co.at [143.245.5.112]) by mx1.freebsd.org (Postfix) with ESMTP id 5FCD28FC08 for ; Wed, 3 Aug 2011 10:29:58 +0000 (UTC) Received: from exchh2.oekb.co.at ([143.245.3.21]) by mgaterz2.oekb.co.at with ESMTP/TLS/AES128-SHA; 03 Aug 2011 12:00:15 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by exchh2.oekb.co.at (143.245.3.61) with Microsoft SMTP Server id 8.2.234.1; Wed, 3 Aug 2011 12:00:15 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.5/8.14.5) with ESMTP id p73A0FFu027311; Wed, 3 Aug 2011 12:00:15 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.5/8.14.5/Submit) id p73A0Fnl027310; Wed, 3 Aug 2011 12:00:15 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Wed, 3 Aug 2011 12:00:15 +0200 From: Ewald Jenisch To: Message-ID: <20110803100015.GA11662@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: portupgrades fail because of missing /usr/local/lib/liblzma.la X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 10:29:59 -0000 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