PDA

View Full Version : /usr/bin/ld: cannot find -lselinux


bretzel
5th August 2004, 04:06 AM
Hi there,
I've just got this error ( see topic ) in the middle of compiling KDevelop 3.0.92 ( 3.1 beta2) sources.

Does any one can tell me how can I get rid of this implicitly required lib because I don't use selinux with my fc2. I have searched in my file sys then found only a .so ( shared ) selinux lib... located in /lib/ .

I am certainly not a automake/makefile/autoconf guru, if the solution is through those files.
I am just intuitively sure that it is not from the KDevelop configuration source files.
...Hmmm I remember it happened once long time ago when fc2 was just released.
But now I MUST find (ask for) a solution because I am stuck here ...

Thanks in advance,
Bretzel :confused:

bretzel
5th August 2004, 04:31 PM
Bah!! I just installed the devel rpm of selinux... But I don't understand why it is required if not used ???

ciao!
:)

Jman
6th August 2004, 12:38 AM
libselinux-devel does have files required to build selinux applications, and kdevelop does have kernel module projects.

bretzel
6th August 2004, 04:51 PM
libselinux-devel does have files required to build selinux applications, and kdevelop does have kernel module projects.

Ahh! that`s it ! :)

Yes I realize that KDevelop have kernel module projects.
Thanks for the info. I`ve already installed libselinux-devel and it is all ok now ;)
chears,

Bretzel

amitguptainn
27th October 2004, 09:04 AM
I got same error while making php-5.0.1 on fedora core2 . It was resolved by installing

libselinux-devel-1.11.4-1.i386.rpm

Amit Gupta
http://amit-gupta.prudence-india.com

Troia (Fg) Instagram Photos - Miami, Alexandria, Egypt Photos on Instagram - Clark International Airport Travel Photos on Instagram