# ENV\["LD\_LIBRARY\_PATH"\] is empty

**URL:** <https://discourse.julialang.org/t/env-ld-library-path-is-empty/5669>\
**Category:** New to Julia\
**Created:** [September 1, 2017, 11:33am UTC](https://discourse.julialang.org/t/env-ld-library-path-is-empty/5669 "2017-09-01T11:33:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mposs](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mposs/32/21087_2.png) [@mposs](https://discourse.julialang.org/u/mposs)\
**Post date:** [September 1, 2017, 11:33am UTC](https://discourse.julialang.org/t/env-ld-library-path-is-empty/5669/1 "2017-09-01T11:33:30Z")

</div>

How comes I get

```julia
julia> @show ENV["LD_LIBRARY_PATH"]
ERROR: KeyError: key "LD_LIBRARY_PATH" not found
Stacktrace:
 [1] access_env(::Base.##288#289, ::String) at ./env.jl:45
 [2] getindex(::Base.EnvHash, ::String) at ./env.jl:78

```

while the variable has been set correctly:

```julia
mposs@mposs-HP-EliteBook-Folio-1040-G3:~$ echo $LD_LIBRARY_PATH
:/opt/ibm/ILOG/CPLEX_Studio127/cplex/bin/x86-64_linux

```

The PATH variable works properly though:

```julia

julia> @show ENV["PATH"]
ENV["PATH"] = "/home/mposs/bin:/home/mposs/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/mposs/julia/bin:/home/mposs/julia:/home/mposs/cplex/bin/x86-64_linux"
"/home/mposs/bin:/home/mposs/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/mposs/julia/bin:/home/mposs/julia:/home/mposs/cplex/bin/x86-64_linux"

```
