#11575: Preparing for PolyBoRi's upcoming release 0.8
-------------------------------+--------------------------------------------
Reporter: AlexanderDreyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: packages | Keywords:
Work_issues: | Upstream: None of the above - read trac
for reasoning.
Reviewer: | Author:
Merged: | Dependencies:
-------------------------------+--------------------------------------------
Comment(by fbissey):
OK I pulled the trunk again with my ebuild and after a few changes to
accommodate for your last commit (lib/lib64 issue not really essential for
sage as far as I can see) it installed fine on linux-amd64.
Trying on OS X (10.5.8) turned something interesting which may explain
some of the difficulties with dynamic linking on OS X.
{{{
* correcting install_name of libpolybori.dylib ...
[ ok ]
* correcting install_name of libpolybori_groebner.dylib ...
[ ok ]
>>> Completed installing polybori-9999 into
/Users/frb15/Desktop/Gentoo/var/tmp/portage/sci-
mathematics/polybori-9999/image/Users/frb15/Desktop/Gentoo/
ecompressdir: bzip2 -9 /Users/frb15/Desktop/Gentoo/usr/share/man
* QA Notice: invalid reference to libpolybori/libpolybori.dylib in
/Users/frb15/Desktop/Gentoo/usr/lib/libpolybori_groebner.dylib
* ERROR: sci-mathematics/polybori-9999 failed:
* invalid install_name found, your application or library will crash at
runtime
}}}
I am guessing the culprit line is this one
{{{
i686-apple-darwin9-g++ -o groebner/libpolybori_groebner.dylib
-Wl,-dead_strip_dylibs -dynamiclib groebner/src/groebner.os
groebner/src/LiteralFactorization.os
groebner/src/LiteralFactorizationIterator.os groebner/src/randomset.os
groebner/src/pairs.os groebner/src/groebner_alg.os
groebner/src/FGLMStrategy.os groebner/src/polynomial_properties.os
groebner/src/LexBucket.os groebner/src/dlex4data.os
groebner/src/dp_asc4data.os groebner/src/lp4data.os groebner/src/nf.os
groebner/src/interpolate.os groebner/src/GroebnerStrategy.os
groebner/src/PairManager.os groebner/src/PolyEntry.os
groebner/src/ReductionStrategy.os
groebner/src/MatrixMonomialOrderTables.os -Llibpolybori -Lgroebner
-L/Users/frb15/Desktop/Gentoo/usr/lib
-L/Users/frb15/Desktop/Gentoo/usr/lib/python2.7/config -LCudd -lm
-lboost_unit_test_framework -lm4ri -lm4ri libpolybori/libpolybori.dylib
-lgd
}}}
Because you already have "-Llibpolybori" you shouldn't need
"libpolybori/libpolybori.dylib" you should just plain link with
"-lpolybori".
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11575#comment:48>
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.