kdheepak / Notcurses.jl

MIT License
6 stars 0 forks source link

Can't install via Pkg, missing artifact? #3

Open sschuldenzucker opened 5 months ago

sschuldenzucker commented 5 months ago

Installation gives me an error. Feels like there's an artifact missing but I'm not super deep into Pkg.

add Notcurses fails, asks me to run precompile. When I do this, I get this:

(@v1.10) pkg> precompile
Precompiling project...
  ✗ Notcurses
  0 dependencies successfully precompiled in 1 seconds. 347 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

Notcurses [0745143a-842b-4fd2-a9b7-9e0948c68818]

Failed to precompile Notcurses [0745143a-842b-4fd2-a9b7-9e0948c68818] to "/Users/steffen/.julia/compiled/v1.10/Notcurses/jl_4AiCeQ".
ERROR: LoadError: InitError: could not load library "/Users/steffen/.julia/artifacts/23a960f60b49f0cfd903b0f4720b13f62ed7f1a3/lib/libnotcurses.3.0.9.dylib"
dlopen(/Users/steffen/.julia/artifacts/23a960f60b49f0cfd903b0f4720b13f62ed7f1a3/lib/libnotcurses.3.0.9.dylib, 0x0001): Library not loaded: @rpath/libunistring.2.dylib
  Referenced from: <FD933C17-8B90-3945-9253-5381CB87D4B6> /Users/steffen/.julia/artifacts/23a960f60b49f0cfd903b0f4720b13f62ed7f1a3/lib/libnotcurses-core.3.0.9.dylib
  Reason: tried: '/Users/steffen/.julia/artifacts/23a960f60b49f0cfd903b0f4720b13f62ed7f1a3/lib/./libunistring.2.dylib' (no such file), '/Users/steffen/.julia/artifacts/23a960f60b49f0cfd903b0f4720b13f62ed7f1a3/lib/./libunistring.2.dylib' (no such file), '/Users/steffen/.julia/artifacts/23a960f60b49f0cfd903b0f4720b13f62ed7f1a3/lib/./libunistring.2.dylib' (no such file), '/opt/homebrew/Cellar/julia/1.10.3/lib/julia/libunistring.2.dylib' (no such file), '/opt/homebrew/opt/curl/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/curl/lib/libunistring.2.dylib' (no such file), '/opt/homebrew/opt/mbedtls@2/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/mbedtls@2/lib/libunistring.2.dylib' (no such file), '/opt/homebrew/opt/openblas/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/openblas/lib/libunistring.2.dylib' (no such file), '/o
pt/homebrew/opt/gcc/lib/gcc/current/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/gcc/lib/gcc/current/libunistring.2.dylib' (no such file), '/opt/homebrew/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libunistring.2.dylib' (no such file), '/opt/homebrew/Cellar/julia/1.10.3/lib/julia/../libunistring.2.dylib' (no such file), '/opt/homebrew/Cellar/julia/1.10.3/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache)
Stacktrace:
 [1] macro expansion
   @ ~/.julia/packages/JLLWrappers/pG9bm/src/products/library_generators.jl:63 [inlined]
 [2] __init__()
   @ Notcurses_jll ~/.julia/packages/Notcurses_jll/y1wAZ/src/wrappers/aarch64-apple-darwin.jl:16
 [3] include(x::String)
   @ Notcurses ~/.julia/packages/Notcurses/rn9fC/src/Notcurses.jl:1
 [4] top-level scope
   @ ~/.julia/packages/Notcurses/rn9fC/src/Notcurses.jl:8
 [5] top-level scope
   @ stdin:3
during initialization of module Notcurses_jll
in expression starting at /Users/steffen/.julia/packages/Notcurses/rn9fC/src/lib/LibNotcurses.jl:1
in expression starting at /Users/steffen/.julia/packages/Notcurses/rn9fC/src/Notcurses.jl:1
in expression starting at stdin:

Versioninfo:

julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a550 (2024-04-30 10:59 UTC)
Build Info:
  Built by Homebrew (v1.10.3)

    Note: This is an unofficial build, please report bugs to the project
    responsible for this build and not to the Julia project unless you can
    reproduce the issue using official builds available at https://julialang.org/downloads

Platform Info:
  OS: macOS (arm64-apple-darwin23.4.0)
  CPU: 12 × Apple M2 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)