Bug 121764
Summary: | /usr/bin/ld: cannot find -lselinux | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Captain <h.mayer> | ||||
Component: | libselinux | Assignee: | Daniel Walsh <dwalsh> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | claudio, dennis, h.mayer, steve8988 | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-04-29 02:04:08 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: | |||||||
Attachments: |
|
Description
Captain
2004-04-27 16:30:41 UTC
This is likely a similar problem to mine, dealing with the type context on shared libraries. Check if ls -Z libselinux.so.1 has a type context of lib_t instead of shlib_t. If so, change it to the latter, then run ldconfig. Sorry, forgot to add that I have SElinux disabled (GRUB option & /etc/sysconfig/selinux: SELINUX=disabled) You can install libselinux-devel and that should fix it. The question is why is the package using libselinux at all. This is not something we have done. I'm too a bit confused why krusader would need libselinux. It doesn't show up anywhere in the Makefile's... Anyway, installing libselinux-devel solved the problem too. 1. I removed the symlink (/lib/libselinux.so.1 -> /lib/libselinux.so) 2. installed libselinux-devel-1.11.3-1.i386.rpm (needed to upgrade to libselinux-1.11.3-1.i386.rpm - didn't download CD3, so grabbed 'em from http://mirror.dulug.duke.edu/pub/fedora/linux/core/development/i386/Fedora/RPMS/) 3. make of krusader now completes without errors :-) I'm still curious why krusader suddenly wanted the libselinux-devel. It compiled just fine on test2 (selinux disabled aswell), without installing libselinux-devel by hand. What libraries is it linking with. It must be a library that supports SELinux that it is sucking in. Dan Created attachment 99797 [details]
Makefile of krArc of krusader
The Makefile of krArc which failed to make during compilation of krusader.
Hope that helps. (I posted the output of make of krArc in my first post)
-Hannes.
Forgot to mention: krusader is running fine on my machine now, but I fear that this issue might affect other prgz aswell. That is the reason why I added further comments to this entry. Thanks for looking into this :-) -Hannes. Just trying to build boson i came across the same problem i guess that kdelibs is pulling in the selinux requirement from bosons README file Minimum software requirements: XFree 4.x server - see http://www.xfree86.org/ OpenGL - The OpenGL library (should be included in your XFree Server or graphics card driver) Qt 3.1 or better - see http://www.trolltech.com/ kdelibs 3.1 or better (3.0 is untested) - see http://www.kde.org/ Python 2.0 or better (2.3 is recommended) - see http://www.python.org/ libvorbis (for sound and music) - see http://www.vorbis.com/ lib3ds (Units and building rendering) - see http://lib3ds.sf.net/ OpenAL (audio library) - see http://www.openal.org/ WML and Perl - For the handbook - see http://www.thewml.org *** Bug 126835 has been marked as a duplicate of this bug. *** Encountered same problem compiling k3b 0.11.12 on FC2. Solved Installing libselinux-devel. |