Many thanks to Duncan Lang and Patrick Connolly for their very helpful suggestions. I used ldd to look up R.so and was told that libR.so was not found. After I changed LD_LIBRARY_PATH, it worked! Weidong Weidong Zhang wrote:> Hello All, > > I installed RSPerl following the instructions from > http://www.omegahat.org/RSPerl/ but got an error message when I triedto> run test2.pl. The error is : > > Can't load '../share/blib/arch/auto/R/R.so' for module R: cannot open > shared object file: cannot load shared object file: > No such file or directory at > /usr/lib/perl5/5.6.0/i686-linux/DynaLoader.pm line 200. > at test.pl line 11 > Compilation failed in require at test.pl line 11. > BEGIN failed--compilation aborted at test.pl line 11. > > > I am using redhat Linux, R-1.5.1, and perl v5.6.0. Any advice? > > Thanks in advance! > > Weidong Zhang >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.-.-> r-help mailing list -- Readhttp://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html> Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To:r-help-request at stat.math.ethz.ch>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._