Found it! For the record, I am running OS X 10.10.2, but that's not the issue. I have been programming longer than almost anyone and you would think that I would have checked this out. My setup is a little different than most people's. I develop and run my programs from within my editor, Epsilon, which is an Emacs clone that runs almost everywhere. It's a nice setup and one that has never failed me, until now. I just opened a terminal window and ran a Julia program. This is what I got:
jimshapiro-2:number_theory jim$ ./integer_sqrt.jl After 10 iterations the (Newton-Halley) approximate integer square root of 154404674067544 = 12425967 (Floor) jimshapiro-2:number_theory jim$ just like it should be. Thanks for getting back to me and I'm sorry I didn't dig deeper before posting. I'll report this problem to the fellow who wrote my editor. Best, Jim On Sat, Feb 14, 2015 at 2:24 AM, Viral Shah <[email protected]> wrote: > I just tried it out and it works fine. I used 0.3.4, but I don't think > that should matter. Does double clicking the .app work fine otherwise? What > version of OS X is this? > > -viral > > > On Tuesday, February 10, 2015 at 4:09:47 AM UTC+5:30, jimshapiro wrote: >> >> 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 >>> >>> >>>
