public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] libselinux.so.1 dependency problems
@ 2008-07-06  6:55 Vladimir G. Ivanovic
  2008-07-07 23:49 ` Andreas Niederl
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir G. Ivanovic @ 2008-07-06  6:55 UTC (permalink / raw
  To: gentoo-user

Since the package sys-libs/libselinux is masked --- at least on AMD64 
it is --- I ran

    emerge --depclean --verbose sys-libs/libselinux

and the only reverse dependency it reported was python-selinux. So I 
removed both packages and severely broke my system.

It turns out that many, many executables require libselinux.so.1, 
despite what the documentation of "--depclean" in "man emerge" says 
(or what I think it says -- is this a bug or operator error?)

I cobbled together a system that limps along thanks to the 2008.0 beta 
   LiveCD (which does not depend on libselinux.so.1), but I am unable 
to emerge a large number of packages that seem to silently depend on 
libselinux.so.1: the ebuilds fail when ld cannot find -lselinux.

I do not have USE="selinux" anywhere, and I never have. There is no 
"selinux" in the output of "emerge --info", and none of the build 
environment files I've checked contain "selinux". "libselinux.so.1" is 
not in directory in /etc/ld.so.conf.  Adding USE="-selinux" on the 
command line or in /etc/make.conf does not make any difference.

revdep-rebuild lists 37 packages, in particular many GNOME packages, 
that depend on libselinux.so.1, but I don't seem to be able to 
re-emerge any of them.

I ran

     for pkg in $(equery depends libselinux | cut -d' ' -f1); do
	eix -e $(qatom ${pkg} | cut -d' ' -f2)
     done

and every package shown that depends on libselinux has actually been 
installed with "-selinux". (BTW, revdep-rebuild and "equery depends" 
don't agree on which packages depend on libselinux.so.1.)

What gives? Where does the "-lselinux" come from? How can I get rid of 
   this maddening dependency?

Thanks for any help.

BTW, as a temporary measure, I've created an empty libselinux.so.1 
that seems to satisfy ld.

--- Vladimir

-- 
Vladimir G. Ivanovic

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-08 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-06  6:55 [gentoo-user] libselinux.so.1 dependency problems Vladimir G. Ivanovic
2008-07-07 23:49 ` Andreas Niederl
2008-07-08 22:08   ` Vladimir G. Ivanovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox