[R] R INSTALL: problem related to LD_LIBRARY_PATH

Agustin Lobo alobo at paleo.ija.csic.es
Thu Jul 18 12:11:56 CEST 2002


Well, I've found that the line in INSTALL
that gives the problem is
gzip -dc "${1}" | (cd "${tmpdir}" && tar -xf -)
("tar: /usr/local/lib/libpthread.so.0: version `GLIBC_2.2' not found
(required by /lib/librt.so.1)")

If I run that command from the shell, i.e.,

gzip -dc KernSmooth_2.22-7.tar.gz | (cd /tmp/R.INSTALL.2186 && tar -xf -)

it runs ok.

I've compared my environment setings within R INSTALL and outside R
INSTALL and found that a major difference is that 
in my shell I do not have LD_LIBRARY_PATH set to anything, while R
sets LD_LIBRARY_PATH to:

LD_LIBRARY_PATH=/usr/local/lib/R/bin:/usr/local/lib:/usr/local/lib:/usr/local/lib:
/usr/lib/gcc-lib/i486-suse-linux/2.95.3:/usr/i486-suse-linux/lib:/usr/X11/lib:/usr/lib:/usr/lib:
/usr/X11R6/lib:/usr/lib:/usr/lib:/usr/lib

If I include 
unset LD_LIBRARY_PATH 

in INSTALL, R INSTALL works.

Therefore, it's clear that I have a problem with the LD_LIBRARY_PATH env.
var. that is set by R.

Does anyone know what can be wrong with my R LD_LIBRARY_PATH ?

Thanks

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es


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