# GLM package failed to add

**URL:** <https://discourse.julialang.org/t/glm-package-failed-to-add/35089>\
**Category:** General Usage\
**Tags:** package, glm\
**Created:** [February 24, 2020, 8:48pm UTC](https://discourse.julialang.org/t/glm-package-failed-to-add/35089 "2020-02-24T20:48:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonjilla](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jonjilla](https://discourse.julialang.org/u/jonjilla)\
**Post date:** [February 24, 2020, 8:48pm UTC](https://discourse.julialang.org/t/glm-package-failed-to-add/35089/1 "2020-02-24T20:48:53Z")

</div>

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.

```julia
(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

---

<div class="post-metadata">

**Author:** ![jonjilla](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jonjilla](https://discourse.julialang.org/u/jonjilla)\
**Post date:** [February 26, 2020, 8:59pm UTC](https://discourse.julialang.org/t/glm-package-failed-to-add/35089/2 "2020-02-26T20:59:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jkwwwwow](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jkwwwwow](https://discourse.julialang.org/u/jkwwwwow)\
**Post date:** [June 11, 2020, 5:22am UTC](https://discourse.julialang.org/t/glm-package-failed-to-add/35089/3 "2020-06-11T05:22:04Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jonjilla](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jonjilla](https://discourse.julialang.org/u/jonjilla)\
**Post date:** [June 11, 2020, 5:35am UTC](https://discourse.julialang.org/t/glm-package-failed-to-add/35089/4 "2020-06-11T05:35:44Z")

</div>

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

```julia
unset LD_LIBRARY_PATH

```

---

<div class="post-metadata">

**Author:** ![jkwwwwow](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jkwwwwow](https://discourse.julialang.org/u/jkwwwwow)\
**Post date:** [June 11, 2020, 6:49am UTC](https://discourse.julialang.org/t/glm-package-failed-to-add/35089/5 "2020-06-11T06:49:18Z")

</div>

it doesn’t work for me

```julia
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?
