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
make dist result and libgfortran library #8397
Comments
We run into this problem on MacOS as well. We have a script called |
@staticfloat Thanks for the link. I suppose it must be rewritten using patchelf. I'll give it a try! |
We have tried to link libgfortran statically in the past but the compiler does not allow static linking of libquadmath. If that has changed with recent gfortran, it would make things so much easier. |
I've done static linking of gfortran and quadmath on much smaller projects, it requires spelling out the full path to the static .a library of each. |
Statically linking libgfortran doesn't make too much sense when we've got multiple independent libraries that all depend on it. Should be easy enough to make |
Yeah, that shouldn't be too hard. I'll take a crack at it tonight. On Sun, Sep 21, 2014 at 7:09 PM, Tony Kelman notifications@github.com
|
I suppose from three libraries listed in fixup-libgfortran script only libgfortran.so is required to be added to archive on Linux? I see that second library libgcc_s.so.1 already present on my Linux boxes. |
libgfortran depends on libquadmath, at least in relatively recent versions of gcc |
We should also ship |
For that we really should just build with -static-libgcc |
@ViralBShah I was just coming to that conclusion. We may want to experiment with doing that by default on Linux for |
And |
Ok, thanks @staticfloat for handling this, nice work! Now I will close this ticket. |
This is more like question than issue.
I tried to run Julia built with
make dist
, on 64-bit Centos 6.5 LiveCD. It turns out that Julia wasn't able to load libopenblas.so, which itself depends on libgfortran, which is not present on that LiveCD. I expected themake dist
result to be self-sufficient (ready to use on any average Linux system).Is the only solution here to have libgfortran installed on target Linux systems? No way to ship this library together with Julia binary build?
The text was updated successfully, but these errors were encountered: