GLM package failed to add

Hello,

Wondering if someone could help me with this. For some reason, GLM stopped working (I guess I had recently added the MD5 package which might have caused a conflict, but not really sure.)

But now I’m seeing this error, when trying to add the GLM package (I started from scratch with a new julia installation referencing a new julia package directory to try to deconvolute the issue). So far, it was the only package I had added to this new installation.

I’m seeing this error for this package

For reference, I have several Julia scripts running in production, so it’s not the julia installation in general, since it appears fine for other packages.

(v1.3) pkg> add GLM
  Updating registry at `/local/PKG/1.3/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
ERROR: Unable to automatically install 'OpenBLAS' from '/local/PKG/1.3/packages/OpenBLAS_jll/cl4ZS/Artifacts.toml

What is the next thing I should do to try to get this installed?

This is a redhat linux installation

1 Like

I’ve resolved this issue myself. For reference it looks like the LD_LIBRARY_PATH setting I had in my environment file was causing a problem. By unsetting the variable before starting Julia, it installed correctly.

Hi, jonjilla:
I met the same issue, but I am a beginner to Julia, I wonder how to unsetting the LD_LIBRARY_PATH before starting Julia, What’s the commands?

it’s simply done from the unix command line before starting Julia

unset LD_LIBRARY_PATH

it doesn’t work for me

jkwwwwow@jkwwwwow:~$ unset LD_LIBRARY_PATH
jkwwwwow@jkwwwwow:~$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.4.2 (2020-05-23)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> import Pkg

julia> Pkg.add("POMDPSimulators")
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
Downloading artifact: OpenBLAS
######################################################################## 100.0%-                                                                           0.6%
ERROR: Unable to automatically install 'OpenBLAS' from '/home/jkwwwwow/.julia/packages/OpenBLAS_jll/rnsmb/Artifacts.toml'

do you have another ways to solve this issue?