On Mon, 9 Oct 2000, Timothy H. Keitt wrote:

> I'm trying to install a library into R and get the following error
> message:
> 
> Installing package `RPgSQL' ...
> creating cache ./config.cache
> checking for crypt in -lcrypt... yes
> checking for PQconnectdb in -lpq... yes
> updating cache ./config.cache
> creating ./config.status
> creating src/Makevars
>  libs
> gcc -I/usr/lib/R/include -I/usr/include/postgresql -I/usr/local/include
> -mieee-fp -D__NO_MATH_INLINES  -fPIC  -g -O2 -c RPgSQL.c -o RPgSQL.o
> gcc -shared -lc -shared  -o /usr/lib/R/library/RPgSQL/libs/RPgSQL.so
> RPgSQL.o -L/usr/local/lib -lcrypt -lpq -lf77blas -lcblas -latlas  -lg2c
> -lm -L/usr/lib/gcc-lib/i386-linux/2.95.2 -lm
> /usr/bin/ld: cannot find -lf77blas
> collect2: ld returned 1 exit status
> 
> What's odd is:
> 
> lilu:~# ls /usr/lib/libf77blas.so.2*
> /usr/lib/libf77blas.so.2  /usr/lib/libf77blas.so.2.3
> 
> Anyone know what's up?
 
not exactly sure, but i think this is the deal -

when you link a .o, you want the static libraries.  static in the sense that
they get inserted in the computer at link time.  these are .a files.

*.so.* are dynamic libraries which are used at run time.

pete

Reply via email to