Bug 803906

Summary: Flex x86_64 RPM shipped with Fedora 16 missing development libraries
Product: [Fedora] Fedora Reporter: Dan F <time_fly>
Component: flexAssignee: Petr Machata <pmachata>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: mnewsome, pmachata
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-15 23:04:47 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 Dan F 2012-03-15 22:36:22 UTC
Description of problem:

I wrote a small program using flex, and compiled it using the flex package installed on the system (flex-2.5.35-13.fc15.x86_64.rpm) plus gcc.  However, I was unable to link because this rpm does not contain anything under /usr/lib or /usr/lib64.  I found older versions of the RPM that contain the expected /usr/lib64/libfl.a.

I checked that the RPM was properly installed, then to double-check I pulled the RPM off my install media, unpacked it as an archive, and looked at the contents and did not find the libfl.a file.  I went to a typical web RPM database and found earlier versions of this package listed, and the contents of these included the expected library under /usr/lib64

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


How reproducible:

Completely

Steps to Reproduce:
1. Install RPM 
2. verify with ls that /usr/lib64/libfl.a is not present
  
Actual results:


Expected results:


Additional info:

Comment 1 Petr Machata 2012-03-15 23:04:47 UTC
That library is distributed in flex-static:

$ rpm -qf /usr/lib64/libfl.a
flex-static-2.5.35-13.fc15.ppc64
$ cat /etc/redhat-release 
Fedora release 16 (Verne)

In Fedora 18 this will be renamed to flex-devel to allow multi-lib installations, but flex-static will be provided by that package as well, so it is safe to depend on it.