Shalini Nagpal <sn...@ec...> wrote:
> Hi,
> I'm new to LDAP and I'm trying to run a example perl-ldap script which
> came with the examples of Perl Ldap and whenever I try to run
> the "qsearch.pl" it gives me a "perl.dll" error.
>
> The error says "The dynamic link library perl.dll could not be found
> in the specified path."
>
> But if i try to run some other perl script it runs fine.
>
> I have following packages installed on my Windows NT machine running
> Active Perl(5.6)
> 1. perl-Convert-ASN1-0.07
> 2. perl-ldap-0.22
> 3. NETSCAPE DIRECTORY SERVER
> LDAP C SDK Release 4.1
> 4. perldap-win32-5.005_03 (the binary files)
>
> Do you know if i have to install any other package ??? Any
> help /commments would be helpful.
>
> Regards
> -Shalini
> Technical Consultant
> Eclipse Networks
You've got *two* LDAP interfaces for perl installed. Perl-ldap (the subject
of this mailing list) comprises of the modules Net::LDAP (using
Convert::ASN1), ie your first and second packages. These do not require any
C libraries or DLLs unless you want to do SSL-related things.
The confusingly named perldap module is from Netscape, and uses external
DLLs.
You only need one of perl-ldap or perldap. They ought to be able to coexist
on the same perl installation, but having 2 packages to do the same thing
seems ... wasteful ...
Which are you actually testing? Since perl-ldap is pure perl, I would
suspect given your error message you're actually testing the perldap
module. At which point, you should seek help from the perldap module's
maintainers.
The perl-ldap module is however known to tickle some problems in perl 5.6,
so that might be your problem instead.
Cheers,
Chris
|