Re: R-alpha: dyn-load on Linux

Peter Dalgaard BSA (p.dalgaard@kubism.ku.dk)
11 Mar 1997 15:35:02 +0100


To: fredrigl@math.uio.no (Fredrik Glockner)
Subject: Re: R-alpha: dyn-load on Linux
From: Peter Dalgaard BSA <p.dalgaard@kubism.ku.dk>
Date: 11 Mar 1997 15:35:02 +0100
In-Reply-To: fredrigl@math.uio.no's message of 11 Mar 1997 14:04:23 +0100
Message-Id: <x2d8t6ts2x.fsf@bush.kubism.ku.dk>

fredrigl@math.uio.no (Fredrik Glockner) writes:

> 
> I'm having some problems using dyn.load() on my Linux system.  I get
> these errors trying to dynamically load an objectfile:
> 
>     > dyn.load("markov.sim.o")
>     /local/R/bin/R.binary: '/home/fredrigl/R/markov.sim.o' is not an ELF executable for 386/486
>     Error in dyn.load(paste(system("pwd", intern = T), x, sep = "/", collapse = "")) : Not an ELF shared library> 
> 
> These errors indicate that the objectfile is not an ELF-file, but it
> is indeed!

Yes. But it's not a *shared library* (.so file). Take a peak at
demos/dynload/* and you will be much wiser.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-