On Tuesday, August 12, 2014 5:54:47 PM UTC-4, Elliot Saba wrote:
>
> I wrote up a huge long response talking about dynamic loading, why you 
> need to alter libjulia, etc... and then about a page and a half in I 
> realized that there was a very simple change on our end that could fix 
> this.  So I pushed this commit 
> <https://github.com/JuliaLang/julia/commit/1a18e8782f39dabfb68e75892cd29f27a565baae>.
>  
>  Any julia version newer than today should automatically have 
> `@loader_path/` added to libjulia's RPATH, which means that you should be 
> able to have everything "just work" when embedding.
>

...

!!!!!
 
That's awesome!



> If you clone and compile your own julia to test this out, pulling the 
> latest and rebuilding should fix this for you.  If you live off of 
> binaries, a new nightly should be up tonight with this fix included.
>

No problem, I have that already.
 

>
> @loader_path is documented in the dyld man page 
> <https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dyld.1.html>,
>  
> which is hardly light reading, I know.
> -E
>
>
Well that explains that.  I was man-ing ld, not dyld

 

Reply via email to