[R] Fortran compilation problem

Philippe Hupé philippe.hupe at wanadoo.fr
Sun Mar 30 21:17:14 CEST 2003


I have problem when i am trying to install a package containing fortran source 
code. I give below the result of installation for one package (I have always 
the same message : /usr/bin/ld: can not find  -lreadline):

g77 -mieee-fp  -fPIC  -g -O2 -c akima.new.f -o akima.new.o
g77 -mieee-fp  -fPIC  -g -O2 -c idbvip.f -o idbvip.o
g77 -mieee-fp  -fPIC  -g -O2 -c idcldp.f -o idcldp.o
g77 -mieee-fp  -fPIC  -g -O2 -c idgrid.f -o idgrid.o
g77 -mieee-fp  -fPIC  -g -O2 -c idlctn.f -o idlctn.o
g77 -mieee-fp  -fPIC  -g -O2 -c idpdrv.f -o idpdrv.o
g77 -mieee-fp  -fPIC  -g -O2 -c idptip.f -o idptip.o
g77 -mieee-fp  -fPIC  -g -O2 -c idptli.f -o idptli.o
g77 -mieee-fp  -fPIC  -g -O2 -c idsfft.f -o idsfft.o
g77 -mieee-fp  -fPIC  -g -O2 -c idtang.f -o idtang.o
g77 -mieee-fp  -fPIC  -g -O2 -c idxchg.f -o idxchg.o
g77 -mieee-fp  -fPIC  -g -O2 -c tripack.f -o tripack.o
g77 -mieee-fp  -fPIC  -g -O2 -c ttidbs.f -o ttidbs.o
gcc -shared  -o akima.so akima.new.o idbvip.o idcldp.o idgrid.o idlctn.o 
idpdrv.o idptip.o idptli.o idsfft.o idtang.o idxchg.o tripack.o ttidbs.o  
-L/usr/lib/gcc-lib/i386-linux/2.95.4 -lreadline -ldl -lncurses -lg2c-pic -lm 
-L/usr/lib/R/bin -lR
/usr/bin/ld: can not find  -lreadline
collect2: ld returned 1 exit status
make: *** [akima.so] Erreur 1
ERROR: compilation failed for package 'akima'

Thanks in advance.

More information about the R-help mailing list