Tags:
create new tag
view all tags

SID-02030: LdapContrib not recognising Net::LDAP installed

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title LdapContrib not recognising Net::LDAP installed
SupportCategory LdapContrib
TWiki version 6.0.1
Server OS Debian Linux 7.8
Web server Apache 2.2.22
Perl version 5.14.2
Browser & version Google Chrome 40.0.2214.111 (64-bit)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.