g2c

Patrick Dupre pd520 at york.ac.uk
Thu Jul 30 15:42:07 UTC 2009


Hello,

Can body test if the library libg2c.so works properly with Fedora11
x86_64

I installed
compat-gcc-34-3.4.6-13.x86_64.rpm
compat-gcc-34-g77-3.4.6-13.x86_64.rpm
compat-libf2c-34-3.4.6-13.x86_64.rpm
compat-gcc-34-c++-3.4.6-13.x86_64.rpm

But gcc -shared -lg2c
always gives me:
/usr/bin/ld: cannot find -lg2c

if I add:
-L/usr/lib64 it does not help
or LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64

The only way to make it works it to make
-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6

which seems to indicate that it is not the dynamic library which is
used but the static: libg2c.a

How can I use the libg2c.so ?

Thank.

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520 at york.ac.uk
==========================================================================


More information about the fedora-list mailing list