SID-02030: LdapContrib not recognising Net::LDAP installed
| Status: |
Answered |
TWiki version: |
6.0.1 |
Perl version: |
5.14.2 |
| Category: |
LdapContrib |
Server OS: |
Debian Linux 7.8 |
Last update: |
10 years ago |
I'm trying to install
LdapContrib, but I'm getting errors:
##########################################################
Checking dependency on Digest::MD5....
##########################################################
Checking dependency on Net::LDAP....
*** LdapContrib depends on cpan package Net::LDAP >=0.33
which is described as "Required"
But when I tried to find it I got this error:
Attempt to reload Net/LDAP.pm aborted.
Compilation failed
Net::LDAP is installed:
# perl -e 'use Net::LDAP;'
#
I've run the installer by hand and let it install Net::LDAP from CPAN, but it
still fails:
.
.
Installing /usr/local/man/man3/Net::LDAP::Control::Paged.3pm
Installing /usr/local/man/man3/Net::LDAP::Control::VLVResponse.3pm
Appending installation info to /usr/lib/perl/5.14/perllocal.pod
MARSCHAP/perl-ldap-0.64.tar.gz
/usr/bin/make install -- OK
#########################################################################
# WARNING: I still can't find the module Net::LDAP
Any pointers as to where to look?
--
Keith Edmunds - 2015-02-28
Discussion and Answer
Not sure why TWiki does not find the local path. In any case, I recommend installing the dependent CPAN modules as root. See
HowToInstallCpanModules for details.
--
Peter Thoeny - 2015-03-01
Just a wild guess: Do you have another, maybe incomplete/damaged
Net::LDAP installation somewhere in TWiki's
@INC (check also the environment variables
TWIKI_LIBS) ?
"Attempt to reload <module>" is a Perl diagnostic message saying that your script had already tried to load
Net::LDAP before, but failed.
--
Harald Jörg - 2015-03-01
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2015-12-03
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.