I made the soft link (to usr/bin/julia) and added the "magic" first line 
"#! /usr/bin/julia" to a program. The program, which is just a one line 
"Hello, World" test, now executes from the command line, but the results 
are followed by an error message (I am running Julia 0.3.5):

~/julia/learning>./test.jl
Hello, World
warning: stack corruption detected

signal (6): Abort trap: 6
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Abort trap: 6


On Sunday, February 8, 2015 at 7:27:29 AM UTC-7, Ahmed Hassan-albanna wrote:
>
> you can just type this in terminal 
>
> sudo ln -s 
> /Applications/Julia-x.x.x.app/Contents/Resources/julia/bin/julia 
> /usr/bin/julia
>
> to create a symbolic link for julia in /usr/bin
>
> or else you can use
>
> sudo ln -s 
> /Applications/Julia-x.x.x.app/Contents/Resources/julia/bin/julia 
> /usr/local/bin/julia
>
> if you don't like editing your /usr/bin directory
>
>
>

Reply via email to