Skip to content

Instantly share code, notes, and snippets.

@zlu
Created February 19, 2012 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zlu/1865217 to your computer and use it in GitHub Desktop.
Save zlu/1865217 to your computer and use it in GitHub Desktop.
error running julia
zlu@zlu-mba:/usr/local/src/julia (master)$ ./julia
dlopen(libarpack, 2): image not found
error during init:
could not load module libarpack
in dlopen, /Users/viral/julia/j/base.j:99 sys.ji:17
@manelvelasco
Copy link

I also get the same error.

@sporto
Copy link

sporto commented Feb 20, 2012

Same here, I downloaded the binary and tried to run julia, same error.

@zlu
Copy link
Author

zlu commented Feb 20, 2012

I then git cloned and installed gfortran. But then make gives this error:
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.101/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]_$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.101/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.10.00)
i686-apple-darwin11-llvm-gcc-4.2: -compatibility_version only allowed with -dynamiclib
make[3]: *_* [libhistory.6.2.dylib] Error 1
CC src/support/dirpath.o
dirpath.c:91:53: error: /Developer/Headers/FlatCarbon/Processes.h: No such file or directory
dirpath.c:92:49: error: /Developer/Headers/FlatCarbon/Files.h: No such file or directory
dirpath.c: In function ‘get_exename’:
dirpath.c:95: error: ‘ProcessSerialNumber’ undeclared (first use in this function)
dirpath.c:95: error: (Each undeclared identifier is reported only once
dirpath.c:95: error: for each function it appears in.)
dirpath.c:95: error: expected ‘;’ before ‘PSN’
dirpath.c:96: error: ‘FSRef’ undeclared (first use in this function)
dirpath.c:96: error: expected ‘;’ before ‘ref’
dirpath.c:98: warning: implicit declaration of function ‘GetCurrentProcess’
dirpath.c:98: error: ‘PSN’ undeclared (first use in this function)
dirpath.c:99: warning: implicit declaration of function ‘GetProcessBundleLocation’
dirpath.c:99: error: ‘ref’ undeclared (first use in this function)
dirpath.c:100: warning: implicit declaration of function ‘FSRefMakePath’
make[2]: *** [dirpath.o] Error 1
make[1]: *** [support/libsupport.a] Error 2
make: *** [julia-release] Error 2

@manelvelasco
Copy link

Ok, I solved it by downloading the source and compiling it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment