Hi!

I'm running modperl 1.26 and apache 1.3.20 on a Solaris machine. I added
Apache::DBI and other DBI modules.

I added the following line to the httpd.conf line to use Apache::DBI

PerlModule Apache::DBI

Before any other DBI command as stated on the docs. Here's the error I get
at starting apache:

Syntax error on line 304 of /export/apache/conf/httpd.conf:
Can't load
'/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/DBI.so' for
module DBI: ld.so.1: /export/apache/bin/httpd: fatal: relocation error:
file /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/DBI.so:
symbol main: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/DBI.pm line 189
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/DBI.pm line 189.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.6.1/Apache/DBI.pm line 4.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.6.1/Apache/DBI.pm line 4.
Compilation failed in require at (eval 4) line 3.

Line 304 of httpd.conf is the "PerlModule Apache::DBI" command.

Any ideas? 

Thanks for your help!

Mauricio

Reply via email to