Bug 451345 - libsepol.a is missing from libsepol-devel
libsepol.a is missing from libsepol-devel
Product: Fedora
Classification: Fedora
Component: setools (Show other bugs)
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Chris PeBenito
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-06-13 16:42 EDT by John D. Ramsdell
Modified: 2008-06-16 09:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-06-16 06:36:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John D. Ramsdell 2008-06-13 16:42:58 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008060309 Firefox/3.0

Description of problem:
With libsepol-devel installed, the following autoconf script fails.

  AC_MSG_ERROR([libsepol headers missing]))

LIBS="-Wl,-dn -lsepol -Wl,-dy $LIBS"

  AC_MSG_ERROR([libsepol.a missing]))

It looks for libsepol.a, because libsepol.so does not export policydb_read.
[root@goo slat]# uname -a
Linux goo.mitre.org #1 SMP Wed May 21 18:12:35 EDT 2008 i6\
86 i686 i386 GNU/Linux
[root@goo slat]# yum install libsepol-devel
fedora                                                   | 2.4 kB     00:00    \

updates                                                  | 2.3 kB     00:00    \

Setting up Install Process
Parsing package install arguments
Package libsepol-devel-2.0.26-1.fc9.i386 already installed and latest version
Nothing to do
[root@goo slat]# ls -l /usr/lib/libsepol.a
ls: cannot access /usr/lib/libsepol.a: No such file or directory
[root@goo slat]#

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

How reproducible:

Steps to Reproduce:
1.yum install libsepol-devel
2.ls -l /usr/lib/libsepol.a

Actual Results:
ls: cannot access /usr/lib/libsepol.a: No such file or directory

Expected Results:
The file should have been there.

Additional info:
Comment 1 Daniel Walsh 2008-06-16 06:36:09 EDT
Install libsepol-static.
Comment 2 John D. Ramsdell 2008-06-16 09:20:43 EDT
Thanks Dan.  I updated Slat's README to reflect this change.  FYI, I've been
asked the get slat working again.  I notice the binary interface has changed yet
again. Off to hack C code...

Note You need to log in before you can comment on or make changes to this bug.