-
Notifications
You must be signed in to change notification settings - Fork 55
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
Init error on Mac M2 #290
Comments
Works for me on a fresh install: julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU: 8 × Apple M1 Pro
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 on 6 virtual cores
Environment:
JULIA_EDITOR = code
JULIA_CXX_RTTI = 1 |
What's the output of
? |
|
Here is what I get for grepping for
So it seems like the symbol is there |
This is very strange... I wrote a C code mimicking the Julia and |
Not sure if it helps but
|
I completely deleted Julia, deleted |
I've narrowed down the problem to the |
Weird that I am running on almost the same arch, with the same Julia and package versions, and I can't reproduce… |
I also couldn't reproduce on M1. |
@mattsignorelli what version of macOS are you using? I think I was on 12.6 (I don't have my macbook at hand right now). |
@giordano I'm on 14.2 |
There's probably something weird in macOS 14, other projects had problems as well, for example neovim/neovim#25274 (pointed out by @mkitti). Frankly it looks odd to me that having everything in a single shared library is a problem. |
Couldn't reproduce on fresh environment, M2 Pro, Sonoma 14.3
|
This seems to be the problem. If I run |
Just as a data point, I'm on MacOS 14.2.1 on an M2 system and I can't repro this using Julia 1.10.0 and the exact same versions of FFTW and FFTW_jll. How did you install Julia? |
Looks ok here on macOS 13.5.1 (22G90)
|
I tried with Julia v1.10 from Juliaup installed with the standard But right now, I am compiling the library manually outside of Julia (using the same flags in the |
Ah, I have figured it out. There is a separate software in my Thanks for everyone's time. If someone else has a similar problem in the future with either FFTW or other common packages, this could be something to check for on Mac. |
We should make |
@mattsignorelli, did you truncate your |
Yes, I did |
Running on Mac arm64, Julia v1.10, here is the full output:
The text was updated successfully, but these errors were encountered: