Dear Sir,
I have a problem with libg2c on a newly-installed Fedora Core 5 system.
When I compile programs that require libg2c, I have got this error.
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1
However, when I check, I have found that it exists on the file system.
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libg2c.so
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libg2c.a
/usr/lib/libg2c.so.0.0.0
/usr/lib/libg2c.so.0
Does anyone know how to fix this problem? Thank you in advance for your
help.
Athichart