On Tue, 20 Jun 2000, Ravi Pandey wrote:
> I am in process of moving all my CGI scripts to mod-perl. I get the
> following error from a CGI script when executed in mod-perl environment.
> I am using Apache 1.3.12 and mod-perl 1.24.
>
> /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
> Storage: /usr/lib/libcl.2
> /usr/lib/dld.sl: Exec format error
When you say 'moving,' do you perhaps mean 'moving' to a new platform, or
a new version of perl?
> [Tue Jun 20 15:20:30 2000] [error] install_driver(Oracle) failed: Can't
> load
> '/opt/perl5/lib/site_perl/5.005/PA-RISC2.0/auto/DBD/Oracle/Oracle.sl'
> for module DBD::Oracle: Exec format error at
> /opt/perl5/lib/5.00503/PA-RISC2.0/DynaLoader.pm line 169.
long story short - it doesn't think your shared lib is a shared lib, and
gives up.
--
Blue Lang Unix Systems Admin
QSP, Inc., 3200 Atlantic Ave, Ste 100, Raleigh, NC, 27604
Home: 919 835 1540 Work: 919 875 6994 Fax: 919 872 4015