Julia segmentation core dump error

You can also unset them at the end of .bashrc:

unset LD_LIBRARY_PATH
unset LD_PRELOAD

Or you create an alias:

alias jl='unset LD_LIBRARY_PATH; unset LD_PRELOAD; julia'

again at the end of .bashrc and then type jl to start Julia.

And you should NOT delete:

# >>> juliaup initialize >>>

# !! Contents within this block are managed by juliaup !!

case ":$PATH:" in
    *:/home/USERNAME/.juliaup/bin:*)
        ;;

    *)
        export PATH=/home/USERNAME/.juliaup/bin${PATH:+:${PATH}}
        ;;
esac

# <<< juliaup initialize <<<

where USERNAME is your user name.

1 Like