#9201: Add missing R modules and make `spkg-check` pass on Solaris
-----------------------+----------------------------------------------------
Reporter: mpatel | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone:
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Comment(by drkirkby):
It was suggested on the r-devel mailing list, that the problem might be
the fact that the 'sparcv9' subdirectory (which contains 64-bit
libraries), was in LD_LIBRARY_PATH.
{{{
> And if you look at the other R-help message posted by David Kirby you
> will find a link to the trouble ticket report in Sage as
> http://trac.sagemath.org/sage_trac/ticket/9201
>From the link,...
| kirkby at t2:[~] $ echo $LD_LIBRARY_PATH
| /usr/local/gcc-4.4.1-sun-linker/lib:/usr/local/gcc-4.4.1-sun-
linker/lib/sparcv9:/usr/local/lib
`/usr/local/gcc-4.4.1-sun-linker/lib/sparcv9' is 64bit, it is unnecessary.
I think that this obstructs it.
--
EI-JI Nakama <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb" <nakama (a) ki.rim.or.jp>
}}}
I doubted this would be the issue, as the library libgcc_s.so.1 was not
found. If a 64-bit version was loaded instead, one would get a '''WRONG
ELF CLASS''' message. Even if removing the sparcv9 directory solved the
problem, I would consider this an R bug, as there is nothing wrong with
having the 64-bit directories in LD_LIBRARY_PATH.
Anyway, it does not solve the problem. On the same computer
't2.math.washington.edu', which is a Sun T5240 SPARC running Solaris 10
update 7 (, the same problem is observed if LD_LIBRARY_PATH is changed
{{{
Creating a new generic function for "qr.resid" in "Matrix"
Creating a new generic function for "qr.fitted" in "Matrix"
** help
*** installing help indices
** building package indices ...
Loading required package: Matrix
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/rootpool2/local/kirkby/sage-4.4.3/spkg/build/r-2.10.1.p1/src/library/Matrix/libs/Matrix.so':
ld.so.1: R: fatal: libgcc_s.so.1: open failed: No such file or directory
Error : require(Matrix, save = FALSE) is not TRUE
ERROR: installing package indices failed
* removing
‘/rootpool2/local/kirkby/sage-4.4.3/spkg/build/r-2.10.1.p1/src/library/Matrix’
make[2]: *** [Matrix.ts] Error 1
}}}
where
{{{
kir...@t2:[~/sage-4.4.3] $ echo $LD_LIBRARY_PATH
/usr/local/gcc-4.4.1-sun-linker/lib:/usr/local/lib
kir...@t2:[~/sage-4.4.3] $
}}}
== Testing on another computer ==
The same was observed on another much older computer, which was
* Sun Blade 1000
* 2 GB RAM
* Solaris 10 03/05 (first release of Solaris 10)
* gcc 4.4.3
* Same version of Sage (4.4.3) with the same version of R (2.10.1)
{{{
Creating a new generic function for "qr.qty" in "Matrix"
Creating a new generic function for "qr.coef" in "Matrix"
Creating a new generic function for "qr.resid" in "Matrix"
Creating a new generic function for "qr.fitted" in "Matrix"
** help
*** installing help indices
** building package indices ...
Loading required package: Matrix
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/export/home/drkirkby/32/sage-4.4.3/spkg/build/r-2.10.1.p1/src/library/Matrix/libs/Matrix.so':
ld.so.1:
/export/home/drkirkby/32/sage-4.4.3/spkg/build/r-2.10.1.p1/src/bin/exec/R:
fatal: libgcc_s.so.1: open failed: No such file or directory
Error : require(Matrix, save = FALSE) is not TRUE
ERROR: installing package indices failed
* removing
'/export/home/drkirkby/32/sage-4.4.3/spkg/build/r-2.10.1.p1/src/library/Matrix'
make[2]: *** [Matrix.ts] Error 1
make[2]: Leaving directory
`/export/home/drkirkby/32/sage-4.4.3/spkg/build/r-2.10.1.p1/src/src/library/Recommended'
make[1]: *** [recommended-packages] Error 2
make[1]: Leaving directory
`/export/home/drkirkby/32/sage-4.4.3/spkg/build/r-2.10.1.p1/src/src/library/Recommended'
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9201#comment:5>
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.