From owner-freebsd-current@FreeBSD.ORG Wed Jan 18 05:33:20 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64043106566C for ; Wed, 18 Jan 2012 05:33:20 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3725B8FC1A for ; Wed, 18 Jan 2012 05:33:19 +0000 (UTC) Received: by dadi14 with SMTP id i14so159892dad.13 for ; Tue, 17 Jan 2012 21:33:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=p1AAOrQj8YI/LRJNmyMRsFJJ8eXHrQTKCsuRcU+F5eU=; b=FVinIszYERR7w2a3fDj3RD5Bjv5asBBYOM2kLGsa/13YNS1PGzO9i1kcYy/0+7435O F9BNDpGrr2kb8OiK52s/Ec+KSnfVmLCt5WK1nJSO0uWb6lwgRXhJffc1N4FO8Tbofnh7 3BEUyWdXFbjEnWfzG0d8atw/8gFvJimhmI/Gg= MIME-Version: 1.0 Received: by 10.68.75.107 with SMTP id b11mr40349608pbw.66.1326863089332; Tue, 17 Jan 2012 21:04:49 -0800 (PST) Received: by 10.68.43.103 with HTTP; Tue, 17 Jan 2012 21:04:49 -0800 (PST) In-Reply-To: References: Date: Tue, 17 Jan 2012 21:04:49 -0800 Message-ID: From: Kevin Oberman To: "Marcelo/Porks" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current Subject: Re: libfftw3.so.5: compile error on port of awesome X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 05:33:20 -0000 On Tue, Jan 17, 2012 at 5:09 PM, Marcelo/Porks wrote: > Hi guys, I do not know if this is the correct mail list to report this. > > I'm trying to compile the port x11-wm/awesome but failed with the error: > > [ 37%] Building C object CMakeFiles/awesome.dir/common/tokenize.c.o > Linking C executable awesome > [ 37%] Built target awesome > Scanning dependencies of target generated_icons > [ 38%] Generating themes/zenburn/titlebar/maximized_normal_active.png > Shared object "libfftw3.so.5" not found, required by "convert"*** Error > code 1 > > Stop in /usr/ports/x11-wm/awesome/work/awesome-3.4.11. > *** Error code 1 > > I'm using the head and the workaround of UNAME_r=9.9-CURRENT > > BARAD-DUR# uname -a > FreeBSD BARAD-DUR 9.9-CURRENT FreeBSD 10.0-CURRENT #6 r230290M: Tue Jan 17 > 22:22:46 BRST 2012 root@BARAD-DUR:/usr/clang/obj/usr/src/sys/GENERIC > amd64 > BARAD-DUR# echo $UNAME_r > u9.9-CURRENT > > (GMT-2) > > I have on my system /usr/local/lib/libfftw3.so.6 > I can compile making: > ln -s /usr/local/lib/libfftw3.so /usr/local/lib/libfftw3.so.5 > > (I know, this is a bad thing to do) > > Could someone check if on your system the same happen? > Yes, it's risky to do that. The problem is that some port on your system needs to re-link against /usr/local/lib/libfftw3.so.6. You can find the ports that link to non-existent libs by installing sysutils/bsdadminscripts and running pkg_libchk. It will list all executables that are linked against non-existent libs. Note that it does generate a few false positives. See the man page for details, but none of the false positives is likely to show up for libfftw3. Re-install any port with files linked against libfftw3.so.5. While you are at it, fix any other errors found, though you may skip openoffice and Java (false positives). -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com