Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libfftw3 not defined on Raspberry Pi 3 Raspbian #143

Closed
amckay1 opened this issue Mar 28, 2020 · 6 comments
Closed

libfftw3 not defined on Raspberry Pi 3 Raspbian #143

amckay1 opened this issue Mar 28, 2020 · 6 comments

Comments

@amckay1
Copy link

amckay1 commented Mar 28, 2020

Hi, I'm using Julia 1.3.1 32-bit generic binary on an Arm-based Raspberry Pi and was trying to install Images.jl but kept running into a "libfftw3 not defined" error that I traced to FFTW.jl (v1.2.0). I've installed 'libfftw3-dev' and I think I can get the library to load using Libdl, but realized that is likely not the problem since it is simply not defined in the 'src/FFTW.jl' file somehow? Looking at 'src/FFTW.jl' (and following the error message) I realized line 27 does not make it clear where libfftw3 is coming from, so I'm guessing one of packages used should be pulling it in but isn't.

Thanks for any help you can provide and I understand that since this is an Arm architecture the answer might be "that just doesn't work right now" :)

@giordano
Copy link
Member

What version of FFTW.jl are you using?

@amckay1
Copy link
Author

amckay1 commented Mar 28, 2020

v1.2.0. Thanks!

@giordano
Copy link
Member

Can you please try to do

using Pkg
Pkg.add(PackageSpec(name="FFTW_jll", rev="704f8580a0c9395721016c85a9ea376e272074fe"))

and see if now FFTW.jl works for you?

@amckay1
Copy link
Author

amckay1 commented Mar 28, 2020

Thanks for the suggestion, unfortunately it doesn't seem to work. I now have FFTW_jll v3.3.9+4 #704f858 but running using FFTW results in the same error, same for when I remove and add FFTW.jl back or build it again.

@giordano
Copy link
Member

That's because I told you the wrong revision 🤦‍♀️ Try this:

using Pkg
Pkg.add(PackageSpec(name="FFTW_jll", rev="633945700554833c7ecc7140bf2e76c4e37cc8e5"))

@amckay1
Copy link
Author

amckay1 commented Mar 28, 2020

Haha, second times a charm, I think that one did the trick! I had to restart Julia but now I can load FFTW.jl and Images.jl as well! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants