Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libldap-2.2.so.7 error with ldap/apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Craven66
n00b
n00b


Joined: 03 Aug 2010
Posts: 41

PostPosted: Thu Aug 12, 2010 12:33 pm    Post subject: libldap-2.2.so.7 error with ldap/apache Reply with quote

Hello,

I got a problem with the apache service start and the ldap module. I updated from openldap 2.2.* to 2.4.19-r1. Since then I get the libldap-2.2.so.7 errors:

Code:

/etc/init.d/apache2 start
 * apache2 has detected an error in your setup:
apache2: Syntax error on line 111 of /etc/apache2/httpd.conf: Cannot load /usr/lib/apache2/modules/mod_ldap.so into server: libldap-2.2.so.7: cannot open shared object file: No such file or directory

Code:

emerge --search openldap
Searching...
[ Results for search key : openldap ]
[ Applications found : 2 ]

*  net-nds/openldap
      Latest version available: 2.4.19-r1
      Latest version installed: 2.4.19-r1
      Size of files: 5,345 kB
      Homepage:      http://www.OpenLDAP.org/
      Description:   LDAP suite of application and development tools
      License:       OPENLDAP


I tried reemerge, revdep-rebuild, emerge depclean, but it didn't solve the problem. Thx for your help.
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Thu Aug 12, 2010 8:21 pm    Post subject: Reply with quote

What's the output of

Code:
find /usr/lib -iname "*libldap-2*"  # (32-bit Gentoo)
find /usr/lib32 -iname "*libldap-2*"  # (64-bit Gentoo)

equery files openldap
equery files apache
emerge -pv apache


As a workaround, you could try setting a symlink. If you don't use LDAP with Apache, you can simply deactivate the LDAP module.
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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