Linking fortran code - lg2c library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to install the open source project TAUCS
from Tel Aviv University. Most of the project is in C
with a few files in Fortran. It seems that gcc does
not find the Fortran library lg2c. I get the following
error message:
 
 
mkdir obj/linux/
echo exists > obj/linux/exists.log
cc -c -O3 -Wall -Werror -std=c99    -DMACHTYPE_ -I
src/ -I build/linux/ -I 
external/src/   \
          progs/taucs_blas_underscore_test.c \
          -oobj/linux/taucs_blas_underscore_test.o
cc   \
          -oobj/linux/taucs_blas_underscore_test \
          obj/linux/taucs_blas_underscore_test.o -L 
external/lib/linux -llapack -L 
external/lib/linux -lf77blas -lcblas -latlas -L 
external/lib/linux -lmetis  -lg2c   -lm 
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
make: [build/linux/taucs_config_tests.h] Error 1
(ignored)


I checked if the library exists - and it seems to
exist:
 
[apuseni] ~ > locate libg2c.so
/usr/lib/libg2c.so.0
/usr/lib/libg2c.so.0.0.0
/usr/lib/scilab-4.0/bin/libg2c.so.0
/usr/local/gcc3/lib/libg2c.so
/usr/local/gcc3/lib/libg2c.so.0
/usr/local/gcc3/lib/libg2c.so.0.0.0
[apuseni] ~ > /sbin/ldconfig -p | grep g2c
        libg2c.so.0 (libc6) => /usr/lib/libg2c.so.0
[apuseni] ~ > 
 
 
 
Does anybody know what I could do to make the code
compile? Help is greately appreciated.
 
Johann


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux