[R] re: problem installing library sm

rohan sadler rsadler at agric.uwa.edu.au
Fri Oct 25 08:10:12 CEST 2002


Hi All,

I am having trouble installing the sm package, and only the sm package. 
My box is RedHat 7.3 on a PIV. Readline 4.3-3 is installed (suited for 
RH 8, but same error under readline 4.2 for RH 7.3), but it seems to be 
looking for the readline library in the wrong directory. Will installing 
readline 4.1 do the trick? What else could be done?


Rohan Sadler

[root at rsadler R]# R CMD INSTALL sm_2.0-6.tar.gz
WARNING: ignoring environment value of R_HOME
* Installing *source* package 'sm' ...
** libs
g77 -mieee-fp  -fPIC  -O2 -m486 -fno-strength-reduce -g -c routines.f -o 
routines.o
gcc -shared -L/usr/local/lib -o sm.so routines.o  -L/usr/local/lib 
-L/usr/lib/gcc-lib/i386-redhat-linux/2.96 
-L/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../.. -lreadline -ldl 
-lncurses -lg2c -lm
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make: *** [sm.so] Error 1
ERROR: compilation failed for package 'sm'

[root at rsadler R]# locate readline
/usr/lib/python1.5/lib-dynload/readline.so
/usr/lib/python2.2/lib-dynload/readline.so
/usr/lib/python2.2/lib-dynload/xreadlinesmodule.so
/usr/lib/libreadline.so.4
/usr/lib/libreadline.so.4.2
/usr/lib/libguilereadline.so.0
/usr/lib/libguilereadline.a
/usr/lib/libguilereadline.la
/usr/lib/libguilereadline.so
/usr/lib/libguilereadline.so.0.0.0
/usr/lib/libreadline.so.3
/usr/lib/libreadline.so.3.0
/usr/lib/R/library/base/R-ex/readline.R
/usr/lib/R/library/base/help/readline
/usr/lib/R/library/base/html/readline.html
/usr/lib/libreadline.so.4.1
/usr/libexec/rep/0.15.1/i386-redhat-linux/rep/io/readline.a
/usr/libexec/rep/0.15.1/i386-redhat-linux/rep/io/readline.la
/usr/libexec/rep/0.15.1/i386-redhat-linux/rep/io/readline.so
/usr/libexec/rep/0.15.1/i386-redhat-linux/readline.a
/usr/libexec/rep/0.15.1/i386-redhat-linux/readline.la
/usr/libexec/rep/0.15.1/i386-redhat-linux/readline.so
/usr/share/doc/vim-common-6.1/syntax/readline.vim
/usr/share/doc/python2-docs-2.2/lib/libreadline.tex
/usr/share/doc/python2-docs-2.2/lib/libxreadlines.tex
/usr/share/man/man3/readline.3.gz
/usr/share/info/readline.info.gz
/usr/share/vim/vim61/indent/readline.vim
/usr/share/vim/vim61/syntax/readline.vim
/usr/share/guile/1.3.4/ice-9/readline.scm
/usr/local/lib/R/library/base/help/readline
/usr/local/lib/R/library/base/html/readline.html
/usr/local/lib/R/library/base/latex/readline.tex
/usr/local/lib/R/library/base/R-ex/readline.R
/home/rsadler/downloads/R/R-1.5.1/src/library/base/man/readline.Rd
/home/rsadler/downloads/R/R-1.5.1/library/base/help/readline
/home/rsadler/downloads/R/R-1.5.1/library/base/html/readline.html
/home/rsadler/downloads/R/R-1.5.1/library/base/latex/readline.tex
/home/rsadler/downloads/R/R-1.5.1/library/base/R-ex/readline.R

-- 
Ecosystems Research Group (ERGO)
School of Plant Biology (Botany), Faculty of Natural & Agricultural Sciences,
The University of Western Australia, 35 Stirling Highway, Crawley  WA  6009, Australia

Ph:  +61 8 9380 7914
Fax: +61 8 9380 7925
email: rsadler at agric.uwa.edu.au
ERGO's web site:<http://www.botany.uwa.edu.au/ergo>




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list