On Tue, 01 Apr 2014 22:50:43 leif wrote:
> kcrisman wrote:
> > In the meantime, yet another build error - this time rpy.  What the
> > heck?
> 
> Same as with eclib and FLINT...
> 
> > After all,
> > 
> > $ ls local/lib/R/lib/
> > libR.dylib              libRblas.dylib          libRlapack.dylib
> > 
> > $ 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)
> 
>             ^^^^^^^^^^^^^^
> 
> You have to change this to an absolute path ($SAGE_LOCAL/lib/R/lib/...),
> with 'install_name_tool -id ...'.
> 
Indeed from the corresponding gentoo ebuild:
        if use prefix; then
                if [[ ${CHOST} == *-darwin* ]] ; then
                        sed -i \
                                -e 's:-install_name libR.dylib:-install_name 
${libdir}/R/lib/libR.dylib:' \
                                -e 's:-install_name 
libRlapack.dylib:-install_name 
${libdir}/R/lib/libRlapack.dylib:' \
                                -e 's:-install_name 
libRblas.dylib:-install_name 
${libdir}/R/lib/libRblas.dylib:' \
                                -e "/SHLIB_EXT/s/\.so/.dylib/" \
                                configure.ac || die
                        # sort of "undo" 2.14.1-rmath-shared.patch
                        sed -i \
                                -e "s:-Wl,-soname=libRmath.so:-install_name 
${EROOT%/}/usr/$(get_libdir)/libRmath.dylib:" \
                                src/nmath/standalone/Makefile.in || die
                else
                        append-ldflags 
-Wl,-rpath="${EROOT%/}/usr/$(get_libdir)/R/lib"
                fi
        fi


Francois

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to