You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Silvio Wanka <Si...@alcatel.de> on 2005/03/01 11:48:30 UTC
Re: mod_perl - DBD::Oracle exec format error for Oracle.sl
jwarn wrote:
>
> Here is the output of chatr for the various libraries. It looks like
> everything is similiar except for Oracle.sl. I am still
> at a loss, so *any* advice is appreciated.
>
>
> HTTPD
> /post/home/post/migr/pos/apache/bin/httpd:
> shared library list:
> dynamic /usr/lib/libm.2
> dynamic /usr/lib/libpthread.1
> dynamic /usr/lib/libcl.2
> dynamic /usr/lib/libc.2
>
> ORACLE SL
> /post/opt/perl-5.8.0/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBD/Oracle/Oracle.sl:
> shared library list:
> dynamic /post/opt/oracle9.2/lib32//libclntsh.sl.9.0
> dynamic /usr/lib/libm.2
>
> MOD_PERL
> /post/home/post/migr/pos/apache/libexec/libperl.so:
> shared library list:
> dynamic /usr/lib/libcl.2
> dynamic /usr/lib/libpthread.1
> dynamic /usr/lib/libnsl.1
> dynamic /usr/lib/libnm.sl
> dynamic /usr/lib/libdld.2
> dynamic /usr/lib/libm.2
> dynamic /usr/lib/libc.2
> dynamic /usr/lib/libsec.2
>
> Thanks.
>
1. the shared library list of /post/opt/oracle9.2/lib32//libclntsh.sl.9.0
must also contain /usr/lib/libpthread.1 and /usr/lib/libcl.2
2. the shared library list of my working (mod_perl and pure perl)
<perl-site-arch>/auto/DBD/Oracle/Oracle.sl contains also
/usr/lib/libpthread.1 and /usr/lib/libcl.2
Maybe there is a difference between the way Oracle.sl will be loaded
dynamically from the perl binary and from mod_perl loaded from apache
binary.
Silvio