Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't find libacl.so.1: system b00rked [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Tue Jan 18, 2005 4:37 pm    Post subject: can't find libacl.so.1: system b00rked [SOLVED] Reply with quote

Two days ago I moved from gnome to gnome-light and did an emerge -av depclean. It seemed sane, as it was only removing many programms that I don't need anyway, all of them used by gnome (before let emerge remove them, I checked what they do with emerge -sv). Afterwards, I did a revdep-rebuild -av and it shows me this:
Code:
root@clemens / # revdep-rebuild -av

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... using existing /root/.revdep-rebuild.1_files.

Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.

Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_rebuild.

Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds.

Evaluating package order... using existing /root/.revdep-rebuild.5_order.

All prepared. Starting rebuild...
emerge --oneshot --nodeps -av =net-fs/samba-3.0.9-r1 =app-editors/gvim-6.3-r2 =app-editors/vim-6.3-r2 =net-misc/rsync-2.6.3 =sys-apps/coreutils-5.2.1-r2
..........

These are the packages that I would merge, in order:

Calculating dependencies      ...done!
[ebuild   R   ] net-fs/samba-3.0.9-r1  -acl* +cups -debug -doc -kerberos -ldap -libclamav -mysql -oav +pam -postgres +python -quotas +readline (-selinux) -winbind +xml* +xml2 0 kB
[ebuild   R   ] app-editors/gvim-6.3-r2  -acl* -cscope -debug +gnome +gpm +gtk +gtk2 +motif +ncurses +nls +perl +python -ruby (-selinux) 0 kB
[ebuild   R   ] app-editors/vim-6.3-r2  -acl* -cscope -debug +gpm -minimal +ncurses +nls +perl +python -ruby (-selinux) -vim-with-x 0 kB
[ebuild   R   ] net-misc/rsync-2.6.3  -acl* -build -debug +ipv6 -static 0 kB
[ebuild   R   ] sys-apps/coreutils-5.2.1-r2  -acl* -build -debug +nls (-selinux) -static (-uclibc) 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] Interrupted.

Result is not OK, you have following choices:
- if emerge failed during build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (try to rebuild package, not exact
  ebuild - ignores SLOT!)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*
root@clemens / #

Ok, so I try to emerge them manually and the first one fails. Then, I try to do an emerge sync and it shows me this:
Code:
root@clemens / # emerge sync
>>> starting rsync with rsync://134.68.220.97/gentoo-portage...
>>> checking server timestamp ...
/usr/bin/rsync: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
>>> retry ...


>>> Starting retry 1 of 3 with rsync://140.211.166.165/gentoo-portage
>>> checking server timestamp ...
/usr/bin/rsync: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
>>> retry ...


>>> Starting retry 2 of 3 with rsync://208.44.252.23/gentoo-portage
>>> checking server timestamp ...
/usr/bin/rsync: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
>>> retry ...


>>> Starting retry 3 of 3 with rsync://64.127.121.98/gentoo-portage
>>> checking server timestamp ...
/usr/bin/rsync: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory

!!! Rsync has not successfully finished. It is recommended that you keep
!!! trying or that you use the 'emerge-webrsync' option if you are unable
!!! to use rsync due to firewall or other restrictions. This should be a
!!! temporary problem unless complications exist with your network
!!! (and possibly your system's filesystem) configuration.

root@clemens / #

I wanted to check for some files using ls, and it gives me this:
Code:
root@clemens / # ls
ls: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory

I'd like to know if I can still save the system. Otherwise, I still have my backups.
Thanks,
tkdfighter


Last edited by tkdfighter on Wed Jan 19, 2005 12:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
pitcrawler
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 155
Location: Oklahoma, USA

PostPosted: Tue Jan 18, 2005 4:48 pm    Post subject: Reply with quote

I had this problem once. You need to emerge coreutils without the acl use flag enabled. This can be done by booting from the live cd. The reason your system was b00rked is this: emerge depclean removes the acl package because it thinks it's not being used, but when you installed Gentoo, coreutils had acl as a dependency. You just need to re-emerge coreutils without the acl dependency and you'll be fine.
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Tue Jan 18, 2005 5:53 pm    Post subject: Reply with quote

Ok, I'll try that. Wierd though, that depclean didn't remove acl before I removed gnome.
Back to top
View user's profile Send private message
WladyX
Guru
Guru


Joined: 25 Nov 2004
Posts: 503
Location: Romania

PostPosted: Tue Jan 18, 2005 6:05 pm    Post subject: Reply with quote

Maybe this helps: https://forums.gentoo.org/viewtopic.php?t=280377
_________________
We are not alone.
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Tue Jan 18, 2005 7:16 pm    Post subject: Reply with quote

I booted from a livecd, but even in chroot I can't emerge. Now I'm trying to find libacl.so.1. Where would that be located? /lib or /usr/lib? I couldn't find it on the cd, so now I'm trying my tar backups. We'll see.
Thanks for the help,
tkdfighter
Back to top
View user's profile Send private message
WladyX
Guru
Guru


Joined: 25 Nov 2004
Posts: 503
Location: Romania

PostPosted: Tue Jan 18, 2005 7:21 pm    Post subject: Reply with quote

I think /lib for the symlinks and /usr/lib for the libraries. I think!
_________________
We are not alone.
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Tue Jan 18, 2005 7:30 pm    Post subject: Reply with quote

pitcrawler wrote:
I had this problem once. You need to emerge coreutils without the acl use flag enabled. This can be done by booting from the live cd. The reason your system was b00rked is this: emerge depclean removes the acl package because it thinks it's not being used, but when you installed Gentoo, coreutils had acl as a dependency. You just need to re-emerge coreutils without the acl dependency and you'll be fine.

What's the benefit of having acl?
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Tue Jan 18, 2005 7:36 pm    Post subject: Reply with quote

Huh?
Code:

jollix lib # tar -jxf ../mnt/stage4/clemens*.tar.bz2 /lib/libacl.so.1
tar: Removing leading `/' from member names

Code:
tar -jxf ../../mnt/stage4/clemens*.tar.bz2 /usr/lib/libacl.so.1
tar: /usr/lib/libacl.so.1: Not found in archive
tar: Error exit delayed from previous errors

Code:
jollix lib # ls /mnt/gentoo/lib | grep acl
jollix lib # ls /mnt/gentoo/usr/lib | grep acl
jollix lib #

I wonder where it is?
How can I search a tar archiev with grep?

EDIT: Nevermind, I found out how. (tar -jtf)


Last edited by tkdfighter on Tue Jan 18, 2005 7:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Tue Jan 18, 2005 7:36 pm    Post subject: Reply with quote

This thread should have the solution:
https://forums.gentoo.org/viewtopic.php?t=139908
Back to top
View user's profile Send private message
tkdfighter
Apprentice
Apprentice


Joined: 14 May 2004
Posts: 271
Location: Bludenz, Austria

PostPosted: Tue Jan 18, 2005 8:28 pm    Post subject: Reply with quote

Yes, it's compiling coreutils now!! Downloading coreutils did the trick.
Thanks again to all for helping me out.
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Wed Jan 19, 2005 4:56 pm    Post subject: Reply with quote

Moving from Other Things Gentoo.

Please see emerge doesn't work after attr is unemerged! for more info.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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