[GenABEL-dev] Building VariABEL

L.C. Karssen lennart at karssen.org
Mon Jan 27 12:15:17 CET 2014


Dear Maksim, dear list,

I have been trying to build the VariABEL package, but I can't seem to
get it to work. Compilation of the VariABEL.so file by R CMD check
works, but then when it tries to load the shared lib I get the following
error. Any idea how to fix this? How did you get it to work for you last
CRAN submission?

** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object
'/home/lennart/Projecten/GenABEL/VariABEL-build/VariABEL.Rcheck/VariABEL/libs/VariABEL.so':

/home/lennart/Projecten/GenABEL/VariABEL-build/VariABEL.Rcheck/VariABEL/libs/VariABEL.so:
undefined symbol: mych2inv_
Error: loading failed
Execution halted
ERROR: loading failed
* removing
‘/home/lennart/Projecten/GenABEL/VariABEL-build/VariABEL.Rcheck/VariABEL’


If I build the .so file by hand (R CMD SHLIB VariABEL/src/*.cpp) I get
the .so file, but when I try to load the lib in R manually I get the
same error:

>
dyn.load(paste("/home/lennart/Projecten/GenABEL/VariABEL-build/VariABEL/src/VariABEL",
.Platform$dynlib.ext, sep=""))
Error in
dyn.load(paste("/home/lennart/Projecten/GenABEL/VariABEL-build/VariABEL/src/VariABEL",
 :
  unable to load shared object
'/home/lennart/Projecten/GenABEL/VariABEL-build/VariABEL/src/VariABEL.so':

/home/lennart/Projecten/GenABEL/VariABEL-build/VariABEL/src/VariABEL.so:
undefined symbol: mych2inv_
>



Thanks,

Lennart.

-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
Utrecht
The Netherlands

lennart at karssen.org
http://blog.karssen.org
GPG key ID: A88F554A
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20140127/5810f2f9/attachment.sig>


More information about the genabel-devel mailing list