#16044: Fix install_name for remaining libraries preventing build on OS X 10.4
PPC
--------------------------------------+------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: packages: standard | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+------------------------
Comment (by kcrisman):
{{{
$ man ld | grep rpath
$
}}}
On the other hand, it isn't horrible - `rpy2` is virtually not needed at
all for Sage, I'm still not sure why we included it. Sage itself works
fine, and so does at least the basic R.
{{{
> 2+2
[1] 4
> a <- c(1,2,3)
> a
[1] 1 2 3
}}}
The best I could do in compiling was
{{{
$ LDFLAGS="-Wl,$(SAGE_LOCAL)/lib/R/lib/" make
}}}
which however ran into this problem again, I guess.
{{{
gcc -bundle -undefined dynamic_lookup
-L/Users/crisman/Desktop/sage-6.4.1/local/lib -Wl,/lib/R/lib/
build/temp.macosx-10.4-ppc-2.7/./rpy/rinterface/_rinterface.o
-L/Users/crisman/Desktop/sage-6.4.1/local/lib
-L/Users/crisman/Desktop/sage-6.4.1/local/lib/R//lib
-L/Users/crisman/Desktop/sage-6.4.1/local/lib/R/modules -lR -lreadline
-licucore -lR -lm -liconv -o
build/lib.macosx-10.4-ppc-2.7/rpy2/rinterface/_rinterface.so
/usr/bin/ld: can't open: /lib/R/lib/ (No such file or directory, errno =
2)
/usr/bin/ld: warning can't open dynamic library: libRblas.dylib referenced
from: /Users/crisman/Desktop/sage-6.4.1/local/lib/R//lib/libR.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/Users/crisman/Desktop/sage-6.4.1/local/lib/R//lib/libR.dylib(single
module) definition of _locale_charset
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
collect2: error: ld returned 1 exit status
<snip>
$ otool -L local/lib/R/lib/libR.dylib
local/lib/R/lib/libR.dylib:
libR.dylib (compatibility version 3.1.0, current version 3.1.1)
libRblas.dylib (compatibility version 0.0.0, current version
0.0.0)
/Users/crisman/Desktop/sage-6.4.1/local/lib/libgfortran.3.dylib
(compatibility version 4.0.0, current version 4.0.0)
<snip>
$ otool -L local/lib/R/lib/libRblas.dylib
local/lib/R/lib/libRblas.dylib:
libRblas.dylib (compatibility version 0.0.0, current version
0.0.0)
/Users/crisman/Desktop/sage-6.4.1/local/lib/libgfortran.3.dylib
(compatibility version 4.0.0, current version 4.0.0)
/Users/crisman/Desktop/sage-6.4.1/local/lib/libgomp.1.dylib
(compatibility version 2.0.0, current version 2.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/Users/crisman/Desktop/sage-6.4.1/local/lib/libgcc_s.1.dylib
(compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.12)
}}}
though perhaps the thing that made it die is the `locale_charset` thing.
Who knows. Yuck.
--
Ticket URL: <http://trac.sagemath.org/ticket/16044#comment:49>
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.