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

Missing libgfortran.spec #412

Closed
ivanmantova opened this issue Feb 20, 2012 · 5 comments
Closed

Missing libgfortran.spec #412

ivanmantova opened this issue Feb 20, 2012 · 5 comments

Comments

@ivanmantova
Copy link
Contributor

I'm having the following problem when compiling Julia under Mac OS X 10.7.2:

(P) RBok status 0 0 0
mtype of pattern:              [pua]
mtype of tril(A):              [rua]
(L) RBok status 0 0 22
RBdemo OK
gfortran: error: libgfortran.spec: No such file or directory
make[1]: *** [SuiteSparse-3.7.0/lib/libsuitesparse.dylib] Error 1
make: *** [julia-release] Error 2
[Mon Feb 20 09:59:44 ivanmp@MacBookPro53:julia ] λ 

Even though I do have libgfortran.spec on my machine:

[Mon Feb 20 09:59:44 ivanmp@MacBookPro53:julia ] λ ls /usr/local/lib | grep gfortran
libgfortran.3.dylib*
libgfortran.a
libgfortran.dylib*
libgfortran.la*
libgfortran.spec
[Mon Feb 20 10:02:47 ivanmp@MacBookPro53:julia ] λ 

Am I missing something?
Should I set some environment variable to point to /usr/local/lib for the build to be able to find the above file? If so, which variable?

@ViralBShah
Copy link
Member

Someone on IRC suggested that it should be a 64-bit gfortran. The one from hpc.sf.net is reported to work. It would just be so much easier if Apple shipped a fortran compiler also.

@ivanmantova
Copy link
Contributor Author

The gfortran install was broken.
Removed it and installed from http://hpc.sf.net/ and it works fine now.

@pmassey
Copy link

pmassey commented Dec 23, 2014

I had this problem but reinstalling did not solve the issue. What did fix it was adding /usr/local/lib explicitly to LIBRARY_PATH; i.e.,
setenv LIBRARY_PATH $LIBRARY_PATH:/usr/local/lib

@nhstanley
Copy link

This was my problem as well. FYI for bash and ksh, the command to correct the library path is:

export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/lib"

StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018
…` from `UniformScaling` (#412)

* Add constructors for `Matrix{T}` and `SparseMatrixCSC{T}` from `UniformScaling`

* Add constructors for `Array{T}` from `UniformScaling`
@skudari
Copy link

skudari commented Apr 6, 2020

I have tried all these solutions and I am still getting the same problem.

Keno pushed a commit that referenced this issue Oct 9, 2023
Support ReturnNode and GotoIfNot
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

5 participants