[R] unable to load modreg in R-0.63

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sun Nov 15 02:04:21 CET 1998

Tom Kennedy <tomkenn at bigpond.com> writes:

> I am running linuxppc 2.1.128   on a pmac 8500/200 604e.
> R 0.63  builds and installs without errors.
> The compiler is egcs 102 pre  and binutils
> When attempting to load modreg with the library command
> the following error is returned.
> Error in dyn.load(file) : unable to load shared library
> "/usr/local/share/R/library/modreg/libs/modreg.so"
> How can I debug this problem?

The main problem here is the "linuxppc 2.1.128" bit...not too many
people have similar setups.

The first thing to do is figure out whether the problem is that
modreg.so isn't there or just isn't loadable.

Then, assuming that it *is* there, you'll have to see whether R has
gotten the procedure for creating dyn.load'able object files right on
your system. Probably the most handy thing is to go to the
demos/dynload directory and try making the example there. If it
doesn't work, I'm afraid your in for a bit of studying of the ld(1)
man page. 

Oh, BTW, *before* that, check whether configure finds the dlxxx
libraries needed for dynamic linking at all! If they're not installed,
well, you know what to do.

   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 mailing list