Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error while ... libraries: libldap-2.2.so.7 [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
karabela
n00b
n00b


Joined: 11 Jul 2004
Posts: 49
Location: Germany

PostPosted: Thu Jan 26, 2006 7:23 pm    Post subject: error while ... libraries: libldap-2.2.so.7 [solved] Reply with quote

Moin,

war zu unvorsichtig mit emerge depclean, hat was runtergehauen was
wohl noch benötigt wurde, vermutlich diese beiden Pakete:

dev-libs/cyrus-sasl-2.1.20
net-nds/openldap-2.2.28-r3

Die bekomme ich in diesem Zustand natürlich nicht mehr druff, mc und
pureftpd gehen auch nicht mehr, bekomme folgende Fehlermeldung:

error while loading shared libraries: libldap-2.2.so.7 cannot open shared object file: No such file or directory

Wie kann ich das jetzt noch retten??

thx


Last edited by karabela on Thu Jan 26, 2006 10:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Thu Jan 26, 2006 9:32 pm    Post subject: Reply with quote

Also wenn du Nutzer, Gruppen und Hosts im ldap hast dann versucht dein mc wohl die uid/gid in Namen zu übersetzen. Ich denke mal du musst /etc/nsswitch.conf anpassen. Alles was da mit ldap drinnesteht muss raus solange kein ldap installiert ist. Aber wie man nicht wissen kann das man openldap braucht wenn man ldap nutzt wundert mich schon ein wenig.
Back to top
View user's profile Send private message
karabela
n00b
n00b


Joined: 11 Jul 2004
Posts: 49
Location: Germany

PostPosted: Thu Jan 26, 2006 9:47 pm    Post subject: Reply with quote

Code:
# /etc/nsswitch.conf:
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/nsswitch.conf,v 1.1 2005/05/17 00:52:41 vapier Exp $

passwd:      compat
shadow:      compat
group:       compat

# passwd:    db files nis
# shadow:    db files nis
# group:     db files nis

hosts:       files dns
networks:    files dns

services:    db files
protocols:   db files
rpc:         db files
ethers:      db files
netmasks:    files
netgroup:    files
bootparams:  files

automount:   files
aliases:     files


was von den sachen oben hat im ldap zu tun und muss raus?
Back to top
View user's profile Send private message
karabela
n00b
n00b


Joined: 11 Jul 2004
Posts: 49
Location: Germany

PostPosted: Thu Jan 26, 2006 10:13 pm    Post subject: Reply with quote

Hier mein Lösungsweg nach einigem herumprobieren:

Schritt 1
Code:
rm -r /var/tmp/*

Schritt 2
Code:
  cp /usr/portage/sys-devel/gcc/files/fix_libtool_files.sh /sbin/ &&
cp /usr/portage/sys-devel/gcc/files/awk/fixlafiles.awk /lib/rcscripts/awk/

Schritt 3
Code:
fix_libtool_files.sh i686-pc-linux-gnu-3.4.4 && (env-update) && source /etc/profile

Schritt 4
Code:
emerge -uD world


Bitte um Korrektur von den Gentoo-Profis hier, nicht das das eine andere Katastrophe nach sich zieht :twisted: Das env-update bei Schritt drei wäre wohl nicht nötig gewesen.Bei mir ging es jedenfalls nicht ohne Schritt 1, deshalb hatte ich hier gepostet und es hinterher in dieser Reihenfolge nochmal probiert, hat dann auch geklappt. Werde jetzt noch revdep-rebuild drüberlaufen lassen.
Also, gute n8 !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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