# PackageCompiler: could not load symbol "\_\_bid32\_from\_string"

**URL:** <https://discourse.julialang.org/t/packagecompiler-could-not-load-symbol-bid32-from-string/116646>\
**Category:** General Usage\
**Tags:** package-compiler\
**Created:** [July 5, 2024, 7:57am UTC](https://discourse.julialang.org/t/packagecompiler-could-not-load-symbol-bid32-from-string/116646 "2024-07-05T07:57:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jehrensb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jehrensb/32/36259_2.png) [@jehrensb](https://discourse.julialang.org/u/jehrensb)\
**Post date:** [July 5, 2024, 7:57am UTC](https://discourse.julialang.org/t/packagecompiler-could-not-load-symbol-bid32-from-string/116646/1 "2024-07-05T07:57:34Z")

</div>

I’m trying to compile an application with `PackageCompiler.create_app`. While compiling the nonincremental system image, there’s an error:

> ⡆ [01m:14s] PackageCompiler: compiling nonincremental system imagecould not load symbol “\_\_bid32\_from\_string”:  
> /home/user/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/bin/julia: undefined symbol: \_\_bid32\_from\_string  
> Stacktrace:  
> [1] \_parse(::Type{DecFP.Dec32}, s::String)  
> @ DecFP ~/.julia/packages/DecFP/Cud5F/src/DecFP.jl:352  
> [2] top-level scope  
> @ ~/.julia/packages/DecFP/Cud5F/src/DecFP.jl:359  
> [3] include(mod::Module, \_path::String)  
> @ Base ./Base.jl:495  
> [4] \_require(pkg::Base.PkgId, env::String)  
> @ Base ./loading.jl:2014  
> [5] \_\_require\_prelocked(uuidkey::Base.PkgId, env::String)  
> @ Base ./loading.jl:1812  
> [6] #invokelatest#2  
> @ ./essentials.jl:892 [inlined]  
> [7] invokelatest  
> @ ./essentials.jl:889 [inlined]  
> [8] \_require\_prelocked(uuidkey::Base.PkgId, env::String)  
> @ Base ./loading.jl:1805  
> [9] macro expansion  
> @ ./loading.jl:1790 [inlined]  
> [10] macro expansion  
> @ ./lock.jl:267 [inlined]  
> [11] \_\_require(into::Module, mod::Symbol)  
> @ Base ./loading.jl:1753  
> [12] #invokelatest#2  
> @ ./essentials.jl:892 [inlined]  
> [13] invokelatest  
> @ ./essentials.jl:889 [inlined]  
> [14] require(into::Module, mod::Symbol)  
> @ Base ./loading.jl:1748  
> — the last 12 lines are repeated 3 more times —  
> [51] include(mod::Module, \_path::String)  
> @ Base ./Base.jl:495  
> [52] \_require(pkg::Base.PkgId, env::Nothing)  
> @ Base ./loading.jl:2014  
> [53] \_\_require\_prelocked(uuidkey::Base.PkgId, env::Nothing)  
> @ Base ./loading.jl:1812  
> [54] #invokelatest#2  
> @ ./essentials.jl:892 [inlined]  
> [55] invokelatest  
> @ ./essentials.jl:889 [inlined]  
> [56] \_require\_prelocked  
> @ ./loading.jl:1805 [inlined]  
> [57] \_require\_prelocked  
> @ ./loading.jl:1802 [inlined]  
> [58] macro expansion  
> @ ./lock.jl:267 [inlined]  
> [59] require(uuidkey::Base.PkgId)  
> @ Base ./loading.jl:1797  
> in expression starting at /home/user/.julia/packages/DecFP/Cud5F/src/DecFP.jl:2  
> in expression starting at /home/user/.julia/packages/ODBC/9VZTC/src/ODBC.jl:1  
> in expression starting at /home/user/someproject/code/juliacode/packages/DigitalTwins/src/DigitalTwins.jl:1  
> in expression starting at /home/user/someproject/juliacode/packages/Schedulers/src/Schedulers.jl:1  
> in expression starting at /home/user/someproject/juliacode/MainApp/src/MainApp.jl:1  
> in expression starting at /tmp/jl\_GHoNejkJyn:11  
> ✖ [01m:15s] PackageCompiler: compiling nonincremental system image  
> ERROR: LoadError: failed process: Process(`/home/user/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/bin/julia --color=yes --startup-file=no --pkgimages=no '--cpu-target=generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)' --sysimage=/tmp/jl_ce4vyI/sys.so --project=/home/user/someproject/juliacode/MainApp --output-o=/tmp/jl_o3GXODwxCz.o /tmp/jl_GHoNejkJyn`, ProcessExited(1)) [1]

The last part of the error message relates to my code, in a package that reads from a database using ODBC. However, I have the impression that the error is not related to my code, since it compiled fine until at least 2 weeks ago (June 24, 2024).

The first line in the error message states: `could not load symbol "__bid32_from_string` in package `DecFP.jl`.

I didn’t find any information on how to deal with this error. I would be grateful for any advice.

---

<div class="post-metadata">

**Author:** ![jehrensb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jehrensb/32/36259_2.png) [@jehrensb](https://discourse.julialang.org/u/jehrensb)\
**Post date:** [July 5, 2024, 2:08pm UTC](https://discourse.julialang.org/t/packagecompiler-could-not-load-symbol-bid32-from-string/116646/2 "2024-07-05T14:08:45Z")

</div>

As reference for other users who may encounter the same problem: apparently previous compilations have left `.julia/compiled` in a corrupted state. Reinstalling Julia solved the problem.
