JuliaLang/julia — comment on commit dad6f7594fe78a8bae20b4462cf071b48a12f0f4
File:  line 0
By ViralBShah:

I wonder if a simpler approach would be to put all the libraries and the julia binaries in the same directory. This seems to work currently for finding libjulia.

-viral

On Jan 29, 2012, at 10:47 AM, JeffBezanson wrote:

> Try adding `-Wl,-rpath -Wl,$(DESTDIR)/usr/share/julia/lib` to the command that links the executable. Of course this means `DESTDIR` has to be available during build and not just install. We can also add an rpath for `current_dir/lib`. And probably a different command is needed on Mac OS.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/JuliaLang/julia/commit/dad6f7594fe78a8bae20b4462cf071b48a12f0f4#commitcomment-911684