hello,

this is my first time writing to this list, so i apologize if i am including
too little information - am happy to follow up. i am trying to install the
MCMCglmm package. there seems to be no problem with the installation, but i
get this error when trying to load the package:

> library(MCMCglmm)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library
'/home/danisimmonds/R/x86_64-pc-linux-gnu-library/2.10/MCMCglmm/libs/MCMCglmm.so':
  /home/danisimmonds/R/x86_64-pc-linux-gnu-library/2.10/MCMCglmm/libs/MCMCglmm.so:
undefined symbol: R_ProcessEvents
Error: package/namespace load failed for 'MCMCglmm'

i also tried installing a few of the archived versions of MCMCglmm on cran
with the same error. i cannot seem to find any information on this error (i
found a link of developers discussing this error in a different package). i
am currently running ubuntu 10.4 and my r version is:
> version
platform       x86_64-pc-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          2
minor          10.1
year           2009
 month          12
day            14
svn rev        50720
language       R
version.string R version 2.10.1 (2009-12-14)

the output from the installation is below. any help is much appreciated!
thank you.

dani

Daniel Simmonds
Center for Neuroscience
University of Pittsburgh

> install.packages("MCMCglmm")
Warning in install.packages("MCMCglmm") :
  argument 'lib' is missing: using '/.../R/x86_64-pc-linux-gnu-library/2.10'
trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/MCMCglmm_2.12.tar.gz'
Content type 'application/x-gzip' length 6590218 bytes (6.3 Mb)
opened URL
==================================================
downloaded 6.3 Mb

* installing *source* package ‘MCMCglmm’ ...
** libs
g++ -I/usr/share/R/include      -fpic  -g -O2 -c MCMCglmm.cc -o MCMCglmm.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_add.c -o
cs_add.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_addR.c -o
cs_addR.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_amd.c -o
cs_amd.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_cbind.c -o
cs_cbind.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_chol.c -o
cs_chol.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_cholsol.c -o
cs_cholsol.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_compress.c -o
cs_compress.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_counts.c -o
cs_counts.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_cov2cor.c -o
cs_cov2cor.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_cumsum.c -o
cs_cumsum.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_dcmvnorm.c -o
cs_dcmvnorm.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_dfs.c -o
cs_dfs.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_directsum.c
-o cs_directsum.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c
cs_directsumupdate.c -o cs_directsumupdate.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_dmperm.c -o
cs_dmperm.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_dmvnorm.c -o
cs_dmvnorm.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_droptol.c -o
cs_droptol.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_dropzeros.c
-o cs_dropzeros.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_dupl.c -o
cs_dupl.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_entry.c -o
cs_entry.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_ereach.c -o
cs_ereach.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_etree.c -o
cs_etree.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_fkeep.c -o
cs_fkeep.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_gaxpy.c -o
cs_gaxpy.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_happly.c -o
cs_happly.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_house.c -o
cs_house.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_inv.c -o
cs_inv.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_invR.c -o
cs_invR.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_ipvec.c -o
cs_ipvec.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_kroneckerA.c
-o cs_kroneckerA.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c
cs_kroneckerAupdate.c -o cs_kroneckerAupdate.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_kroneckerH.c
-o cs_kroneckerH.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_kroneckerI.c
-o cs_kroneckerI.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c
cs_kroneckerIupdate.c -o cs_kroneckerIupdate.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_leaf.c -o
cs_leaf.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_load.c -o
cs_load.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_lsolve.c -o
cs_lsolve.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_ltsolve.c -o
cs_ltsolve.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_lu.c -o
cs_lu.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_lusol.c -o
cs_lusol.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_malloc.c -o
cs_malloc.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_maxtrans.c -o
cs_maxtrans.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_multiply.c -o
cs_multiply.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_norm.c -o
cs_norm.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_omega.c -o
cs_omega.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_omegaupdate.c
-o cs_omegaupdate.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_permute.c -o
cs_permute.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_pinv.c -o
cs_pinv.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_post.c -o
cs_post.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_print.c -o
cs_print.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_pvec.c -o
cs_pvec.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_qr.c -o
cs_qr.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_qrsol.c -o
cs_qrsol.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c
cs_rCinvwishart.c -o cs_rCinvwishart.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_rR.c -o
cs_rR.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_randperm.c -o
cs_randperm.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_reach.c -o
cs_reach.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_rinvwishart.c
-o cs_rinvwishart.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_rwishart.c -o
cs_rwishart.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_scatter.c -o
cs_scatter.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_scc.c -o
cs_scc.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_schol.c -o
cs_schol.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_sortdv.c -o
cs_sortdv.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_spsolve.c -o
cs_spsolve.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_sqr.c -o
cs_sqr.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_symperm.c -o
cs_symperm.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_tdfs.c -o
cs_tdfs.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c
cs_tmultiplyupdate.c -o cs_tmultiplyupdate.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_transpose.c
-o cs_transpose.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_updown.c -o
cs_updown.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_usolve.c -o
cs_usolve.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_util.c -o
cs_util.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c cs_utsolve.c -o
cs_utsolve.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c dcutopints.c -o
dcutopints.o
g++ -I/usr/share/R/include      -fpic  -g -O2 -c inverseA.cc -o inverseA.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c lpzF.c -o lpzF.o
g++ -I/usr/share/R/include      -fpic  -g -O2 -c rIW.cc -o rIW.o
g++ -I/usr/share/R/include      -fpic  -g -O2 -c rbv.cc -o rbv.o
gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c rtnorm.c -o
rtnorm.o
g++ -I/usr/share/R/include      -fpic  -g -O2 -c rtnormR.cc -o rtnormR.o
g++ -shared -o MCMCglmm.so MCMCglmm.o cs_add.o cs_addR.o cs_amd.o cs_cbind.o
cs_chol.o cs_cholsol.o cs_compress.o cs_counts.o cs_cov2cor.o cs_cumsum.o
cs_dcmvnorm.o cs_dfs.o cs_directsum.o cs_directsumupdate.o cs_dmperm.o
cs_dmvnorm.o cs_droptol.o cs_dropzeros.o cs_dupl.o cs_entry.o cs_ereach.o
cs_etree.o cs_fkeep.o cs_gaxpy.o cs_happly.o cs_house.o cs_inv.o cs_invR.o
cs_ipvec.o cs_kroneckerA.o cs_kroneckerAupdate.o cs_kroneckerH.o
cs_kroneckerI.o cs_kroneckerIupdate.o cs_leaf.o cs_load.o cs_lsolve.o
cs_ltsolve.o cs_lu.o cs_lusol.o cs_malloc.o cs_maxtrans.o cs_multiply.o
cs_norm.o cs_omega.o cs_omegaupdate.o cs_permute.o cs_pinv.o cs_post.o
cs_print.o cs_pvec.o cs_qr.o cs_qrsol.o cs_rCinvwishart.o cs_rR.o
cs_randperm.o cs_reach.o cs_rinvwishart.o cs_rwishart.o cs_scatter.o
cs_scc.o cs_schol.o cs_sortdv.o cs_spsolve.o cs_sqr.o cs_symperm.o cs_tdfs.o
cs_tmultiplyupdate.o cs_transpose.o cs_updown.o cs_usolve.o cs_util.o
cs_utsolve.o dcutopints.o inverseA.o lpzF.o rIW.o rbv.o rtnorm.o rtnormR.o
-L/usr/lib64/R/lib -lR
** R
** data
** inst
** preparing package for lazy loading
Loading required package: lattice

Attaching package: 'Matrix'


The following object(s) are masked from package:tensorA :

 norm

** help
*** installing help indices
** building package indices ...
* DONE (MCMCglmm)

The downloaded packages are in
‘/tmp/Rtmp0Jqr5d/downloaded_packages’
>

	[[alternative HTML version deleted]]


