Bug 224089

Summary: missing libg2c.so link
Product: [Fedora] Fedora Reporter: Wart <wart>
Component: compat-gcc-34Assignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-24 08:45:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wart 2007-01-24 00:32:28 UTC
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
against libg2c.

Version-Release number of selected component (if applicable):

compat-libf2c-34-3.4.6-4.x86_64

How reproducible:

Always


Steps to Reproduce:
1.  Install compat-libf2c-34
2.  Compile a program that links against g2c with -lg2c
  
Actual results:

The link step fails with:
/usr/bin/ld: cannot find -lg2c

Expected results:

The program links with no errors.

Additional info:

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

Comment 1 Jakub Jelinek 2007-01-24 08:45:15 UTC
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.