From hin-tak.leung at cimr.cam.ac.uk  Wed Nov  9 10:38:53 2005
From: hin-tak.leung at cimr.cam.ac.uk (Hin-Tak Leung)
Date: Wed, 09 Nov 2005 09:38:53 +0000
Subject: [Rd] R build under mandriva 10.2
In-Reply-To: <200511081633.49575.gilles.guillot@inapg.inra.fr>
References: <200511081633.49575.gilles.guillot@inapg.inra.fr>
Message-ID: <4371C3AD.4060707@cimr.cam.ac.uk>

Gilles GUILLOT wrote:
> After upgrading from mandrake 10.1 to mandriva 10.2
> I can't build shared archive with R 2.2.0

libg2c is part of the g77 fortran runtime package in gcc 3.x. You probably
have gcc 4.x (which has a new/different fortran frontend
called gfortran) when you upgrade to mandriva 10.2 .

You probably need to rebuild R with gcc 4.x, or downgrade your
compiler suites back to gcc 3.x.

> [guillot at laplace src]$ R CMD SHLIB main.f sub.f wrapper.c 
> gcc -shared  -L/usr/local/lib -o main.so main.o sub.o wrapper.o  -lg2c -lm 
> -lgcc_s
> /usr//bin/ld: cannot find -lg2c
> collect2: ld returned 1 exit status
> make: *** [main.so] Erreur 1
> 
> I guess the information in
> http://finzi.psych.upenn.edu/R/Rhelp01/archive/5146.html 
> are not relevant any longer.
> 
> What is missing ?
> 
> Gilles
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] R build under mandriva 10.2
Hin-Tak Leung