On Tue, May 19, 2015 at 4:08 PM, Jan Stary <[email protected]> wrote: > Dear R users, > > this is my first time using R; I have this piece of R software > that I am trying to run. It has some dependencies, most of which > install just fine using install.packages("package"); > > The installation of "httpuv", which I need as a dependence of "shiny", > fils with the following error (full script below): > > --- cut --- > ** testing if installed package can be loaded > /usr/local/lib/R/bin/exec/R:/home/hans/R/x86_64-unknown-openbsd5.7-library/3.1/httpuv/libs/httpuv.so: > undefined symbol 'kvm_open' > /usr/local/lib/R/bin/exec/R:/home/hans/R/x86_64-unknown-openbsd5.7-library/3.1/httpuv/libs/httpuv.so: > undefined symbol 'kvm_close' > /usr/local/lib/R/bin/exec/R:/home/hans/R/x86_64-unknown-openbsd5.7-library/3.1/httpuv/libs/httpuv.so: > undefined symbol 'kvm_getprocs' > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared object > '/home/hans/R/x86_64-unknown-openbsd5.7-library/3.1/httpuv/libs/httpuv.so': > Cannot load specified object > Error: loading failed > Execution halted > ERROR: loading failed > * removing '/home/hans/R/x86_64-unknown-openbsd5.7-library/3.1/httpuv'
For some reasons httpuv.so is not linked with '-lkvm'. Maybe try with: env LDFLAGS="-lkvm" R CMD INSTALL etc... Ciao, David
