Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac binary distribution incomplete. #426

Closed
juhagman opened this issue Feb 21, 2012 · 7 comments
Closed

Mac binary distribution incomplete. #426

juhagman opened this issue Feb 21, 2012 · 7 comments

Comments

@juhagman
Copy link

I downloaded the binary distribution for OS X. It does not start because libamos is linked against libgfortran, which does not come with the binary distribution.

$ ./julia dlopen(/Users/jhagman/Downloads/julia/lib/libamos.dylib, 2): Library not loaded: /usr/local/lib/libgfortran.3.dylib Referenced from: /Users/jhagman/Downloads/julia/lib/libamos.dylib Reason: image not found error during init: could not load module libamos in dlopen, /Users/viral/julia/j/base.j:97 at string:15
@JeffBezanson
Copy link
Member

For now we are requiring gfortran to be installed separately rather than bundling it. See the readme for instructions.

@whoisjake
Copy link

Not re-opening, but the documentation around install gfortran via homebrew should probably change as it doesn't create the library :)

@JeffBezanson
Copy link
Member

I don't have a mac to try this on; what should the README say?

@whoisjake
Copy link

I'll let you know after some more experimentation tomorrow. At the moment, the gfortran build on homebrew does not provide /usr/local/lib/libgfortran.3.dylib.

So I would imagine the other distributions mentioned contain that library.

My suggestion would be just to remove the note on building gfortran with homebrew until it could be used.

@whoisjake
Copy link

So I tried installing gfortan from: http://gcc.gnu.org/wiki/GFortranBinaries (Which is one of the other suggestions in the README)

libamos.dylib is fine, but now libarpack complains:

Neoterius:julia jake $ ./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
Neoterius:lib jake $ otool -L libarpack.dylib 
libarpack.dylib:
    libarpack.dylib (compatibility version 0.0.0, current version 0.0.0)
    /usr/local/lib/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
    /usr/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
    /usr/local/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)

I'm on OS X 10.7.3 with XCode Version 4.1 (4B110)

Neoterius:lib jake $ uname -a
Darwin Neoterius.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64

I'll try the third package today to see if that works... This could be related to #375 and #389.

@whoisjake
Copy link

I know I'm beating a dead horse here, but maybe the instructions for homebrew gfortran and the particular download were only for the compilation instructions? I should have noted that I'm only using the pre-compiled binary package.

Still... regardless, I'm not sure it would work anyway...

@kbarros
Copy link

kbarros commented May 10, 2012

I also experienced the problem that Homebrew's installation of gfortran doesn't properly install the gfortran library, described here: Homebrew/legacy-homebrew#8539 . If someone knows how to get Homebrew's gfortran to work with Julia, please let us know.

LilithHafner pushed a commit to LilithHafner/julia that referenced this issue Oct 11, 2021
cmcaine pushed a commit to cmcaine/julia that referenced this issue Nov 11, 2022
ViralBShah pushed a commit that referenced this issue Aug 26, 2023
Stdlib: SparseArrays
URL: https://github.com/JuliaSparse/SparseArrays.jl.git
Stdlib branch: main
Julia branch: master
Old commit: 99c99b4
New commit: 54f4b39
Julia version: 1.11.0-DEV
SparseArrays version: 1.11.0
Bump invoked by: @ViralBShah
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaSparse/SparseArrays.jl@99c99b4...54f4b39

```
$ git log --oneline 99c99b4..54f4b39
54f4b39 Fix docs conflict when building as part of full Julia docs (#430)
a64ef4f Cleanup reloaded (#426)
4e2d1e4 Respect `IOContext` while displaying a `SparseMatrixCSC` (#423)
3d1eda9 Test suite: activate a temp project if we need to install Aqua.jl during the test suite (#425)
18b7fce Merge pull request #422 from JuliaSparse/jn/cat
e2c78b8 test: restore ambiguous test
68afc6e fix inference of SparseVector cat
c402d09 cat: ensure vararg is more inferrable
2c4f870 Fix some broken links (#421)
36a5308 bump version (#418)
```

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Keno pushed a commit that referenced this issue Oct 9, 2023
Trivial typo fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants