# How to set path after running juliac.jl?

**URL:** <https://discourse.julialang.org/t/how-to-set-path-after-running-juliac-jl/14025>\
**Category:** General Usage\
**Created:** [August 25, 2018, 3:43am UTC](https://discourse.julialang.org/t/how-to-set-path-after-running-juliac-jl/14025 "2018-08-25T03:43:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeoK987](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leok987/32/4880_2.png) [@LeoK987](https://discourse.julialang.org/u/LeoK987)\
**Post date:** [August 25, 2018, 3:43am UTC](https://discourse.julialang.org/t/how-to-set-path-after-running-juliac-jl/14025/1 "2018-08-25T03:43:44Z")

</div>

So I did:  
`julia ~/.julia/packages/PackageCompiler/5u3Km/juliac.jl -vae hello.jl`

Then these three files are generated under builddir/  
`hello hello.a hello.so`

Then I tried to execute hello, but got errors:

```julia
$ ./hello
ERROR: could not load library "/home/user/Software/julia-0.7.0/bin/hello.so"
/home/user/Software/julia-0.7.0/bin/hello.so: cannot open shared object file: No such file or directory

```

To run it, I had to set `JULIA_BINDIR=.`

But I don’t want to change JULIA\_BINDIR. What else can I do?
