[R-sig-Geo] Error loading rgdal package on Fedora 7

Roger Bivand Roger.Bivand at nhh.no
Wed Oct 17 16:22:21 CEST 2007


On Wed, 17 Oct 2007, Carsten Jaeger wrote:

> Hello,
>
> I'm using R version 2.5.1 on Fedora 7. I just installed the rgdal
> package from source, compilation was without problems. However, when I
> try to load the package I get the following error message:
>
>> library(rgdal)
> Loading required package: rgdal
> Loading required package: sp
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> 	unable to load shared library '/home/xxxx/R/rgdal/libs/rgdal.so':
>  /usr/lib/atlas/liblapack.so.3: undefined symbol: ATL_chemv
> [1] FALSE
>
> Obviously, liblapack.so.3 is incompatible with rgdal.so. ATLAS version
> is 3.6.0 which is the most current version available for F7 as rpm
> (atlas-3.6.0-11.fc6).

Where did your gdal come from? The rgdal package does not depend on 
lapack, nor as far as I know does gdal itself (it links against the gdal 
and proj4 shared objects). Can you use any of the gdal utilities, such as 
gdalinfo or ogrinfo from the command line?

I have a Fedora 7 box, installed gdal and rgdal from source, do not use 
ATLAS and have no lapack or blas RPMs after earlier version problems (R 
uses the one it is shipped with - but not for rgdal, I believe).

Roger

>
> Any ideas? Does upgrading to ATLAS 3.8 help?
>
> Thanks in advance,
>
> Carsten
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list