Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2012 21:04:49 -0800
From:      Kevin Oberman <kob6558@gmail.com>
To:        "Marcelo/Porks" <marcelorossi@gmail.com>
Cc:        current <current@freebsd.org>
Subject:   Re: libfftw3.so.5: compile error on port of awesome
Message-ID:  <CAN6yY1uOpquFtqFjUbon6GEaMBBv0YphjMyU1C6XMfp8i88Wbg@mail.gmail.com>
In-Reply-To: <CAA9wT9jiw%2B_Mmm1TbVrShLhEvuVV7BM0j3ufQ5i2S0jtwamPpg@mail.gmail.com>
References:  <CAA9wT9izS1nedyr2PwxA6E_M45fO-q6i7vxcu2ETKfGzsA-34Q@mail.gmail.com> <CAA9wT9jiw%2B_Mmm1TbVrShLhEvuVV7BM0j3ufQ5i2S0jtwamPpg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 17, 2012 at 5:09 PM, Marcelo/Porks <marcelorossi@gmail.com>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uOpquFtqFjUbon6GEaMBBv0YphjMyU1C6XMfp8i88Wbg>