Skip to content

DecFP fails to install in Intel macOS #195

@jvo203

Description

@jvo203

It has been happening for quite some time on the maxed-out 2019 Intel Mac Pro. DecFP is in turn required by the MySQL Julia package so the ramifications are quite widespread.

macOS Sequoia 15.7.2(24G325)

julia>
(venv) chris@zodiac Julia % julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.12.1 (2025-10-17)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org release
|__/                   |

julia>

(@v1.12) pkg> add DecFP
   Resolving package versions...
    Updating `~/.julia/environments/v1.12/Project.toml`
  [55939f99] + DecFP v1.4.1
    Updating `~/.julia/environments/v1.12/Manifest.toml`
  [55939f99] + DecFP v1.4.1
  [47200ebd] + DecFP_jll v2.0.300+0
  ✗ DecFP
Precompiling packages finished.
  0 dependencies successfully precompiled in 3 seconds. 415 already precompiled.
  1 dependency errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

DecFP

Failed to precompile DecFP [55939f99-70c6-5e9b-8bb0-5071ed7d61fd] to "/Users/chris/.julia/compiled/v1.12/DecFP/jl_xx2VZA".
ERROR: LoadError: InitError: could not load library "/Users/chris/.julia/artifacts/2e6cecc3d9e8a7d0299e6a3403932c137c815380/lib/libbid.dylib"
dlopen(/Users/chris/.julia/artifacts/2e6cecc3d9e8a7d0299e6a3403932c137c815380/lib/libbid.dylib, 0x0001): Library not loaded: /workspace/destdir/x86_64-apple-darwin14/lib/libgcc_s.1.dylib
  Referenced from: <59267893-0043-330C-AA46-38C7B51B6758> /Users/chris/.julia/artifacts/2e6cecc3d9e8a7d0299e6a3403932c137c815380/lib/libbid.dylib
  Reason: tried: '/libgcc_s.1.dylib' (no such file), '/usr/local/lib/libgcc_s.1.dylib' (no such file), '/workspace/destdir/x86_64-apple-darwin14/lib/libgcc_s.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/workspace/destdir/x86_64-apple-darwin14/lib/libgcc_s.1.dylib' (no such file), '/workspace/destdir/x86_64-apple-darwin14/lib/libgcc_s.1.dylib' (no such file), '/usr/local/Cellar/gcc/15.2.0/bin/../lib/gcc/current/gcc/x86_64-apple-darwin24/15/../../../libgcc_s.1.dylib' (no such file), '/libgcc_s.1.dylib' (no such file)
Stacktrace:
  [1] #dlopen#3
    @ ./libdl.jl:120 [inlined]
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl ./libdl.jl:119
  [3] macro expansion
    @ ~/.julia/packages/JLLWrappers/m2Pjh/src/products/library_generators.jl:63 [inlined]
  [4] __init__()
    @ DecFP_jll ~/.julia/packages/DecFP_jll/bA4H7/src/wrappers/x86_64-apple-darwin.jl:8
  [5] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1415
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1403
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}; register::Bool)
    @ Base ./loading.jl:1291
  [8] _include_from_serialized
    @ ./loading.jl:1246 [inlined]
  [9] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
    @ Base ./loading.jl:2087
 [10] _require_search_from_serialized
    @ ./loading.jl:1981 [inlined]
 [11] __require_prelocked(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2599
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2465
 [13] macro expansion
    @ ./loading.jl:2393 [inlined]
 [14] macro expansion
    @ ./lock.jl:376 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2358
 [16] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2334
 [17] top-level scope
    @ ~/.julia/packages/DecFP/5Nfet/src/DecFP.jl:4
 [18] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
 [19] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2996
 [20] top-level scope
    @ stdin:5
 [21] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
 [22] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2842
 [23] include_string
    @ ./loading.jl:2852 [inlined]
 [24] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:315
 [25] _start()
    @ Base ./client.jl:550
during initialization of module DecFP_jll
in expression starting at /Users/chris/.julia/packages/DecFP/5Nfet/src/DecFP.jl:2
in expression starting at stdin:

julia>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions