[R] mvtnorm package

Dirk Eddelbuettel edd at debian.org
Fri Sep 30 04:23:19 CEST 2005


On 30 September 2005 at 01:55, Caio Lucidius Naberezny Azevedo wrote:
| ==================================================
| downloaded 160Kb
| * Installing *source* package 'mvtnorm' ...
| ** libs
| g77   -fPIC  -g -O2 -c mvt.f -o mvt.o
| gcc -I/usr/lib/R/include     -fPIC  -g -O2 -c randomF77.c -o randomF77.o
| gcc -shared  -o mvtnorm.so mvt.o randomF77.o  -lg2c -lm -lgcc_s -L/usr/lib/R/lib -lR
| /usr/bin/ld: cannot find -lg2c
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That's the error. 

If you're on Debian, you need libg2c0-dev. But on Debian you may as just
install the existing binary package r-cran-mvtnorm.

If you're not on Debian you need to figure out where to get the complete set
of your libg2c tools from.

| I don't know what's the problem because I've installed the package "sn" with sucess

Sn may not contain fortran sources.

Dirk

-- 
Statistics: The (futile) attempt to offer certainty about uncertainty.
         -- Roger Koenker, 'Dictionary of Received Ideas of Statistics'




More information about the R-help mailing list