Hi,
This may not be something in the Net::LDAP proper (looking at the
error), but this occurs when debugging under mod_perl and I use
Net::LDAP:
-------------------------------
$ /opt/apache/bin/httpd -d ~/apache/ -X -D PERLDB
[notice] Apache::DB initialized in child 20816
[Fri Mar 29 19:45:59 2002] [error] No DB::DB routine defined at
/usr/lib/perl5/5.6.1/Convert/ASN1/_decode.pm line 505.
BEGIN failed--compilation aborted at
/usr/lib/perl5/5.6.1/Convert/ASN1/_decode.pm line 508.
Compilation failed in require at /usr/lib/perl5/5.6.1/Convert/ASN1.pm
line 347.
BEGIN failed--compilation aborted at
/usr/lib/perl5/5.6.1/Convert/ASN1.pm line 353.
Compilation failed in require at /usr/lib/perl5/5.6.1/Net/LDAP.pm line
11.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.1/Net/LDAP.pm
line 11.
Compilation failed in require at
/home/esimon/apache/conf/mod_perl.startup.pl line 1.
BEGIN failed--compilation aborted at
/home/esimon/apache/conf/mod_perl.startup.pl line 1.
Compilation failed in require at (eval 5) line 1.
-------------------------------
I don't get this when I debug any script using Net::LDAP from the
command line. It is only when I try to start a debugging session on the
single threaded apache server.
I don't know if this helps, but here is what is in my httpd.conf:
-------------------------------
<IfDefine PERLDB>
<Perl>
use Apache::DB ();
Apache::DB->init;
</Perl>
<Location />
PerlFixupHandler Apache::DB
</Location>
</IfDefine>
PerlRequire /home/esimon/apache/conf/mod_perl.startup.pl
-------------------------------
(and below is what is in the mod_perl.startup.pl)
-------------------------------
use Net::LDAP;
1;
-------------------------------
Any help is much appreciated! :)
--
Eric Simon
|