[R] error in loading shared libraries
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Sun Sep 19 22:15:56 CEST 1999
royle at penguin.irm.r9.fws.gov writes:
> Hi Folks,
> I have been using R for many months on my Intel box running RH 5.1
> and just recently have run into the following problem:
> /home/royle> R
> /usr/local/share/R/bin/R.binary: error in loading shared libraries: /usr/local/share/R/bin/R.binary: undefined symbol: __setfpucw
> Can someone advise me on how to fix this problem?
> I haven't modified my system at all, other than to install Octave
> and Scilab (and an add-on package for Octave).
Are you *sure* you didn't install glibc2 as part of that? People
generally bump into that error by upgrading to RH6.0. If you are lazy,
there is a workaround involving a dummy entry for __setfpucw, which I
posted on one of the R lists a while ago.
$ cat > dummy.c
$ gcc -shared -o dummy.so dummy.c
$ LD_PRELOAD=$PWD/dummy.so R
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
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