Segmentation Fault using packages

Help! Every time i try using Julia’s package help in the REPL, i.e. “]”, i get a segmentation error, and julia quits. Here is the output from versioninfo():

Julia Version 1.11.3
Commit d63adeda50d (2025-01-21 19:42 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 4 × Intel(R) Core™ i5-2320 CPU @ 3.00GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, sandybridge)
Threads: 4 default, 0 interactive, 2 GC (on 4 virtual cores)
Environment:
LD_LIBRARY_PATH = /opt/openfoam12/thirdparty/platforms/linux64Gcc/gperftools-svn/lib:/usr/lib/x86_64-linux-gnu:/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib/paraview-5.10:/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib/openmpi-system:/opt/openfoam12/thirdparty/platforms/linux64GccDPInt32/lib/openmpi-system:/usr/lib/x86_64-linux-gnu/openmpi/lib:/home/kurt/OpenFOAM/kurt-12/platforms/linux64GccDPInt32Opt/lib:/opt/site/12/platforms/linux64GccDPInt32Opt/lib:/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib:/opt/openfoam12/thirdparty/platforms/linux64GccDPInt32/lib:/opt/openfoam12/platforms/linux64GccDPInt32Opt/lib/dummy
JULIA_NUM_THREADS = 4

1 Like

I was having a similar issue a while ago (still version 1.11, but it might have been 1.11.2).

Should you have LD_LIBRARY_PATH set? Try doing unset LD_LIBRARY_PATH on the command line before running again. I think that is what fixed my situation (I may have also uninstalled and reinstalled Julia).

If that works, make sure you aren’t setting LD_LIBRARY_PATH in your bashrc so the problem doesn’t happen in the future.

1 Like

Spencer,

Thank you for that suggestion, it seems to work well.

regards,

Kurt

1 Like