Red Hat Bugzilla – Bug 803906
Flex x86_64 RPM shipped with Fedora 16 missing development libraries
Last modified: 2015-05-04 21:36:49 EDT
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):
Steps to Reproduce:
1. Install RPM
2. verify with ls that /usr/lib64/libfl.a is not present
That library is distributed in flex-static:
$ rpm -qf /usr/lib64/libfl.a
$ 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.