JuliaLang/julia — Issue #551: fftw fails to compile
Author: mjakl
Created: 2012-03-09 09:05:32+00:00
State: open

When compiling a recent Julia snapshot, I get this error:

libtool: link: gcc -shared -Wl,--whole-archive kernel/.libs/libkernel.a dft/.libs/libdft.a dft/scalar/.libs/libdft_scalar.a dft/scalar/codelets/.libs/libdft_scalar_codelets.a rdft/.libs/librdft.a rdft/scalar/.libs/librdft_scalar.a rdft/scalar/r2cf/.libs/librdft_scalar_r2cf.a rdft/scalar/r2cb/.libs/librdft_scalar_r2cb.a rdft/scalar/r2r/.libs/librdft_scalar_r2r.a reodft/.libs/libreodft.a api/.libs/libapi.a simd-support/.libs/libsimd_support.a simd-support/.libs/libsimd_sse2_nonportable.a dft/simd/sse2/.libs/libdft_sse2_codelets.a rdft/simd/sse2/.libs/librdft_sse2_codelets.a -Wl,--no-whole-archive -lm -Wl,-rpath -Wl,-soname -Wl,libfftw3f.so.3 -o .libs/libfftw3f.so.3.3.0
/usr/bin/ld: cannot find libfftw3f.so.3: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [libfftw3f.la] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [/home/JuliaLang/src/julia-build/external/root/lib/libfftw3f.3.so] Error 2
make: *** [julia-release] Error 2

Would it be possible to include a USE_SYSTEM_FFTW for distributions having this problem?

Please also see https://aur.archlinux.org/packages.php?ID=56877