Bug 771125

Summary: /usr/lib64/libglapi.so.0 not linked against /lib64/libselinux.so.1
Product: [Fedora] Fedora Reporter: Sergio Ahumada Navea <sahumada>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: ajax
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-01-03 19:16:03 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 Sergio Ahumada Navea 2012-01-01 18:27:50 UTC
Description of problem:

[sahumada@sahumada-netbook opengles2]$ ldd -r /usr/lib64/libglapi.so.0
        linux-vdso.so.1 =>  (0x00007fffc1dff000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007faae8d02000)
        libc.so.6 => /lib64/libc.so.6 (0x00007faae894b000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003d8fe00000)
undefined symbol: security_get_boolean_active   (/usr/lib64/libglapi.so.0)
undefined symbol: is_selinux_enabled    (/usr/lib64/libglapi.so.0)
undefined symbol: security_get_boolean_pending  (/usr/lib64/libglapi.so.0)

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

mesa-libGLES-7.11.2-1.fc16.x86_64
mesa-libGLES-devel-7.11.2-1.fc16.x86_64

How reproducible:

Try to compile this simple application:

https://qt.gitorious.org/qt/qtbase/trees/master/config.tests/unix/opengles2

Steps to Reproduce:

1. git clone git://gitorious.org/qt/qtbase.git
2. cd qtbase
3. ./configure -opensource -confirm-license -silent -no-pch -separate-debug-info -no-xcb -no-wayland -opengl es2 -D MESA_EGL_NO_X11_HEADERS -Wno-psabi
  
Actual results:

[sahumada@sahumada-netbook opengles2]$ make
linking opengles2
/usr/lib64/libglapi.so.0: undefined reference to `security_get_boolean_active'
/usr/lib64/libglapi.so.0: undefined reference to `is_selinux_enabled'
/usr/lib64/libglapi.so.0: undefined reference to `security_get_boolean_pending'
collect2: ld returned 1 exit status
make: *** [opengles2] Error 1

Expected results:

Successful compilation.

Additional info:

Linux sahumada-netbook 3.1.6-1.fc16.x86_64 #1 SMP Wed Dec 21 22:41:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Comment 1 Adam Jackson 2012-01-03 19:16:03 UTC

*** This bug has been marked as a duplicate of bug 737259 ***