Skip to content

Issue on Apple Silicon with native Julia Build #15

@tknopp

Description

@tknopp

Hi,

I did not expect this to work but still report the error. On the native arm build of Julia we get the error below. Does the C library already compile on arm64e?

(jl_tAyv3V) pkg> add NFFT3
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
    Updating `/private/var/folders/x7/crh034116fl_xp9hzmnqjtxr0000gn/T/jl_tAyv3V/Project.toml`
  [53104703] + NFFT3 v1.1.0
    Updating `/private/var/folders/x7/crh034116fl_xp9hzmnqjtxr0000gn/T/jl_tAyv3V/Manifest.toml`
  [53104703] + NFFT3 v1.1.0
Precompiling project...
  ✗ NFFT3
  0 dependencies successfully precompiled in 1 seconds
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package

julia> using NFFT3
[ Info: Precompiling NFFT3 [53104703-03e8-40a5-ab01-812303a44cae]
ERROR: LoadError: could not load library "/Users/knopp/.julia/packages/NFFT3/1hIEY/src/libnfftjulia.dylib"
dlopen(/Users/knopp/.julia/packages/NFFT3/1hIEY/src/libnfftjulia.dylib, 0x0001): tried: '/Users/knopp/.julia/packages/NFFT3/1hIEY/src/libnfftjulia.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/libnfftjulia.dylib' (no such file), '/usr/lib/libnfftjulia.dylib' (no such file)
Stacktrace:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions