#10993: Update eclib to 20120115
--------------------------------+-------------------------------------------
Reporter: cremona | Owner: cremona
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.0
Component: packages | Resolution:
Keywords: elliptic curves | Work_issues: ldconfig in spkg-install
Upstream: N/A | Reviewer: Frithjof Schulze, Jeroen
Demeyer
Author: John Cremona | Merged:
Dependencies: #11354 |
--------------------------------+-------------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
* work_issues: => ldconfig in spkg-install
Comment:
It still fails on !OpenSolaris because there is no `ldconfig`, with the
same error message as
[http://trac.sagemath.org/sage_trac/ticket/10993#comment:17]
Possible solution: replace the relevant code by
{{{
#!sh
if [ "$UNAME" = "Darwin" ]; then
cp -p lib/*.dylib "$SAGE_LOCAL"/lib/
elif [ "$UNAME" = "CYGWIN" ]; then
cp -p lib/*.dll "$SAGE_LOCAL"/lib/
else
cp -p lib/*.so "$SAGE_LOCAL"/lib/
fi
if [ $? -ne 0 ]; then
echo >&2 "Error copying over libraries"
exit 1
fi
# On some systems (on Linux at least), we need to run ldconfig.
# This will fail gracefully if there is no ldconfig.
PATH="$PATH:/sbin" ldconfig -n "$SAGE_LOCAL/lib" 2>/dev/null
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10993#comment:52>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.