Red Hat Bugzilla – Bug 224089
missing libg2c.so link
Last modified: 2007-11-30 17:11:53 EST
Description of problem:
The link /usr/lib64/libg2c.so is missing from the compat-libf2c-34 package.
This causes problems when trying to compile some programs that try to link
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install compat-libf2c-34
2. Compile a program that links against g2c with -lg2c
The link step fails with:
/usr/bin/ld: cannot find -lg2c
The program links with no errors.
When I manually create the symbolic link, the link step succeeds:
# cd /usr/lib64
# ln -s /usr/lib64/libg2c.so.0.0.0 libg2c.so
The link is intentionally not in /usr/lib64/, but in gcc's lib directory.
If you need -lg2c, you should be using compat-gcc-34 compiler too, so either
link through g77 driver, or gcc34.