[MKDoc-admin] Can't load .so

Bruno Postle bruno at mkdoc.com
Tue Jan 28 11:26:31 GMT 2003


On Tue 28-Jan-2003 at 10:47:46AM +0000, Mike Preston wrote:
> 
> I'm having a bit of trouble installing MkDoc.
> As far as I'm aware I've downloaded and made everything and tried to
> connect to the server. 
> 
> http://admin.equailty.leeds.ac.uk
> 
> appears to work fine.

This is a simple cgi, so it would work in most circumstances.

> However, the other two sites:
> 
> http://editor.equality.leeds.ac.uk
> http://www.equality.leeds.ac.uk

These are the mod_perl MKDoc interfaces.

> % perl
> use DynaLoader;
> use Data::Dumper;

Looks fine, if modules can be loaded only the command-line, then I
guess it's an apache / mod_perl issue.

> As you can see I'm running Apache 1.3.27, Perl 5.8.0 with mod_perl 1.27.
> This is on a Solaris 8 machine and my httpd.conf files are attached, 
> httpd_mkdoc.conf calls httpd_eq.conf.

(We don't think this is your problem; but we have never tried to run
MKDoc-1.4 with perl-5.8 - All the unicode parts are tailored to
perl-5.6.1, so we would expect that to break at least.)

Our first idea is to comment out the mod_perl directives in the
MKDoc httpd.conf file:

#     PerlSetEnv PERL5LIB /export/home/webhost2_b/MkDoc/mkdoc
#     SetHandler perl-script
#     PerlHandler Apache::Registry
#     PerlSendHeader On

This isn't a solution, but if it works as a simple cgi, then at
least we know the system has everything installed and that perl-5.8
will be ok.

> --
> [Tue Jan 28 10:22:56 2003] [error] Can't load
> '/usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Data/Dumper/Dumper.so' for module
> Data::Dumper: ld.so.1:
> /export/home/webhost2_d/issmip/src/apache_1.3.27/src/httpd: fatal: relocation
> error: file /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Data/Dumper/Dumper.so:
> symbol main: referenced symbol not found at
> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
>  at /export/home/webhost2_b/MkDoc/mkdoc/cgi/mkdoc.cgi line 5
> Compilation failed in require at
> /export/home/webhost2_b/MkDoc/mkdoc/cgi/mkdoc.cgi line 5.
> BEGIN failed--compilation aborted at
> /export/home/webhost2_b/MkDoc/mkdoc/cgi/mkdoc.cgi line 5.
> --

This guy seems to have had similar problems:

    http://www.mail-archive.com/modperl@apache.org/msg02526.html
    http://www.mail-archive.com/modperl@apache.org/msg02529.html
    http://www.mail-archive.com/modperl@apache.org/msg02615.html

His solution was "I had to rebuild perl as shared libperl.so Perl
library for mod_perl to work"

This isn't something I had to do on solaris, but dynamically loading
modules seems to be a common source of solaris fun.

-- 
Bruno                                                   http://mkdoc.com/



More information about the MKDoc-admin mailing list