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
Patch adding soname to ntl shared library #3159
Comments
Attachment: ntl-dynamic-library.patch.gz |
comment:1
Hi Tim, Francois, the patch looks good, but as is it needs some changes to our spkg-install. I also noticed some other issues with some scripts in to the src directory, i.e. all shell scripts are missing a shebang, so that causes trouble with csh in some instances. Once I got those sorted out I will respin our spkg and merge this patch while I am at it. Cheers, Michael |
comment:2
Mea culpa! One of us should at least have thought about the spkg-install, Cheers, |
comment:3
Attachment: spkg-install.patch.gz I have fixed a small couple issues with the patch in http://sage.math.washington.edu/home/mabshoff/release-cycles-3.0.2/alpha0/ntl-5.4.2.p3.spkg I did not patch src/src/mfile, but the one in patches, so the new Debian package as well as the ebuild needs to take that into consideration. The spkg builds fine on OSX and Linux, so positive review. Cheers, Michael |
comment:4
One more thing: When creating symbolic links in spkg-install do not make those links absolute since they will break Sage once it is moved or install to another location. I fixed that and a couple other things, so I am taking partial credit on this ticket :) Cheers, Michael |
comment:5
Merged in Sage 3.0.2.alpha0 |
comment:6
I'll remember that. It was a |
comment:7
I noticed the spkg-install script now has the current NTL version number in it; I'm attaching a patch that copies libntl*.so that should avoid having to update the patch every time there's a new NTL release. |
Attachment: ntl-forget-version.patch.gz |
François Bissey and I merged our patches for adding library versioning and a soname to ntl's shared library and for building the static library without -fPIC and the shared library with -fPIC, and tested that they work for Debian and Gentoo builds. I believe that if this patch were applied upstream, SAGE would be able to stop patch the ntl makefile as well. I'm submitting it here so that it can be tested for a standard SAGE build, so we can be sure the patch works before submitting it to Victor Shoup.
CC: @kiwifb
Component: packages: standard
Issue created by migration from https://trac.sagemath.org/ticket/3159
The text was updated successfully, but these errors were encountered: