FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Hardened

LinkBack Thread Tools
Old 08-22-2008, 05:59 AM
Marc-André Beck
Default problem installing a cross glibc with SELinux

François Valenduc wrote:
> Hello everybody,
> I am trying to install a i686 cross compiler on an x86_64 host. I use
> crossdev to install it but when it want to install glibc, it fails
> with the following error:
> checking for is_selinux_enabled in -lselinux... no
> configure: error: SELinux explicitly required, but sufficiently recent
> SELinux library not found

Your hardened profile enforces the selinux USE-Flag, but the ebuild
explicitly requires not to use SELinux.

> Does anybody know how to solve this problem ?

I simply switched the profile to compile the crosscompiler:

$ eselect profile list
# eselect profile set default-linux/amd64/2007.0/desktop

I know, it's not a proper solution, but at least it works.

> Furthermore, if I ever manage to install it, will it be OK to cross
> compile programs for another computer (through distcc) if SELinux is
> not installed on this other computer ?

Yep, your compiler doesn't care if you use SELinux or not. What's
important is the labeling of the binary and the enforcement of those labels.



Thread Tools

All times are GMT. The time now is 08:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org