Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
remove shared object file error [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
carpenterguy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2009
Posts: 132

PostPosted: Sun Dec 12, 2010 4:38 pm    Post subject: remove shared object file error [solved] Reply with quote

Somehow, I ended up with selinux installed on this system, I honestly do not know how it got here, what I did wrong. I just want it to go away.
Was only 2 packages, syslibs, & samba. I used --deep to remove them.
I now have 1 package to update with uNDv, dev-libs/libpcre-8.10, it fails with the error

"error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory"

I also get the same error while shutting down and rebooting. I suspect this is gentoo noob 101 question.
When I search for the answer, is always how to fix the error by installing the missing package, I do not want the package.
Am not finding it in the handbook or wiki, suspect I am using wrong key words.
Can someone point me to a link, or explain to me a little about the shared object file.


Last edited by carpenterguy on Sun Dec 12, 2010 8:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 901
Location: The Village, Portmeirion

PostPosted: Sun Dec 12, 2010 5:14 pm    Post subject: Reply with quote

Code:
"error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory"


You'll need to rebuild whatever it was that was trying to open libselinux.so.1 Look at the error and find what program it was, then find the package that owns it and reinstall it.

Edit: qfile from app-portage/portage-utils can help alot. Say you wanted to find where l2ping came from.
Code:
# qfile l2ping
net-wireless/bluez (/usr/bin/l2ping)



revdep-rebuild might work or at least give you a list of whats broken.
Back to top
View user's profile Send private message
carpenterguy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2009
Posts: 132

PostPosted: Sun Dec 12, 2010 5:32 pm    Post subject: Reply with quote

hmmm, revdep-rebuild comes back clean, I have not tried a deep-clean yet, the uNDv will not complete.
The complete build log error is here,
http://paste.pocoo.org/show/303976/
I do not see which package owns it, only the error of opening the shared libs of libselinux, is at the beginning of the build and repeated at the end.

Would this be a good time to run emerge -e world? or will it pull it back in.
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 901
Location: The Village, Portmeirion

PostPosted: Sun Dec 12, 2010 5:41 pm    Post subject: Reply with quote

Looks like it was find from sys-apps/findutils

it's strange that revdep-rebuild found nothing. You could tell it to rebuild anything that wants to use libselinux.so.1 with:
Code:
revdep-rebuild -library libselinux.so.1



Quote:
Would this be a good time to run emerge -e world? or will it pull it back in.

I'd keep going with your update after your finished with revdep-rebuild. I't might come back if your using a selinux profile.
Code:
eselect profile list
Back to top
View user's profile Send private message
carpenterguy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2009
Posts: 132

PostPosted: Sun Dec 12, 2010 6:25 pm    Post subject: Reply with quote

no joy
revdep-rebuild --library libselinux.so.1
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries using libselinux.so.1
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Checking dynamic linking

* There are no dynamic links to libselinux.so.1... All done.

Also
default/linux/x86/10.0/desktop/kde *

I think I found something, whenever updating, is several packages I need to unmask in selinux, I am finding more then just the first 2 packages I first claimed to have installed....so going through the complete list and manually removing.
Back to top
View user's profile Send private message
carpenterguy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2009
Posts: 132

PostPosted: Sun Dec 12, 2010 6:58 pm    Post subject: Reply with quote

ok removed ALL of them, still same error
Back to top
View user's profile Send private message
carpenterguy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2009
Posts: 132

PostPosted: Sun Dec 12, 2010 8:14 pm    Post subject: Reply with quote

skellr you were right with findutils, the cure was to emerge findutils then run revdep-rebuild again
All is fine now, Thanks again.
And also thanks to chithead on #gentoo irc that helped me fix the issue, I am completely selinux free \0/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum