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

I guess I have to use -L when linking so that arpack, for example, can find BLAS and LAPACK, and then -rpath when building the binary so that all the dependencies can be resolved when running julia.

-viral

On 04-Mar-2012, at 2:09 AM, JeffBezanson wrote:

> I get this:
>
> ```
> /home/jeff/src/julia2/julia/lib/libarpack.so: undefined symbol: dzasum_
> ```
>
> I don't see what `-rpath` is doing, since if we use our own blas it is still statically linked. Also, rpath needs to be set on the executable. But, if we do that it seems it will tie it to a particular path and binary distributions won't work.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/JuliaLang/julia/commit/35595917556334a7282cae27fa7e7fa97a7cdf8e#commitcomment-1039256