#16017: Get libs.mwrank to compile on OS X 10.4
--------------------------------------+------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: sage-6.2
Component: packages: standard | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+------------------------
Comment (by leif):
{{{
#!sh
leif@bsd:~/Sage/sage-6.2.beta5$ otool -DL local/lib/libec.dylib
local/lib/libec.dylib:
/Users/leif/Sage/sage-6.2.beta5/local/lib/libec.0.dylib
(compatibility version 1.0.0, current version 1.0.0)
libflint.dylib (compatibility version 0.0.0, current version
0.0.0)
/Users/leif/Sage/sage-6.2.beta5/local/lib/libntl.2.dylib
(compatibility version 3.0.0, current version 3.0.0)
/Users/leif/Sage/sage-6.2.beta5/local/var/tmp/sage/build/pari-2.5.5b.p1/src/Odarwin-i386
/libpari-gmp.dylib (compatibility version 2.5.0, current version 2.5.5)
/Users/leif/Sage/sage-6.2.beta5/local/lib/libstdc++.6.dylib
(compatibility version 7.0.0, current version 7.17.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.11)
/Users/leif/Sage/sage-6.2.beta5/local/lib/libgcc_s.1.dylib
(compatibility version 1.0.0, current version 1.0.0)
}}}
Interesting... (Note the recorded path to the PARI library!)
But we (also) already have `-lpari` on the command line for linking the
mwrank Python extension module (which I think by the way shouldn't be
necessary either, as it isn't ''directly'' used IIRC):
{{{
g++ -bundle -undefined dynamic_lookup
-L/Users/leif/Sage/sage-6.2.beta5/local/lib
build/temp.macosx-10.6-x86_64-2.7/sage/libs/mwrank/mwrank.o
build/temp.macosx-10.6-x86_64-2.7/sage/libs/mwrank/wrap.o
-L/Users/leif/Sage/sage-6.2.beta5/local/lib -lcsage -lec -lntl -lpari
-lgmp -lgmpxx -lstdc++ -lm -lstdc++ -lntl -o
build/lib.macosx-10.6-x86_64-2.7/sage/libs/mwrank/mwrank.so
}}}
And FWIW, in the build on bsd.math, `libtool` also drops the `-rpath`
given to it when linking `libec.dylib` (or, more precisely,
`libec.0.dylib`).
--
Ticket URL: <http://trac.sagemath.org/ticket/16017#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.