Exec Format Error At Dynaloader.pm
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
Post #1 of 2 (559 views) Permalink Exec Format Error Hi, 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 [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 https://groups.google.com/d/topic/comp.lang.perl.modules/pMapE7ez9Ac 169. at (eval 216) line 3 at Login_new.pm line 179 Any help will be appreciated. thanks, Ravi blue at calico Jun20,2000,4:04PM Post #2 of 2 (515 views) Permalink Re: Exec Format Error [In reply to] 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 http://www.gossamer-threads.com/lists/modperl/modperl/28841 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 Index | Next | Previous | Print Thread | View Threaded ModPerl Announce ModPerl Dev Docs-dev Embperl ASP Advocacy Docs-cvs Embperl-cvs ModPerl-cvs Interested in having your list archived? Contact Gossamer Threads Web Applications & Managed Hosting Powered by Gossamer Threads Inc.
Perl Lists Python Lists PHP Lists Ruby Lists http://code.activestate.com/lists/perl-dbi-users/7725/ Tcl Lists ActiveState Lists Lists » perl-dbi-users Unable to http://marc.info/?l=dbi-dev&m=96049817412460&w=2 get DBD:: Oracle compiled on HP-UX From: Tue, 4 Dec 2001 16:36:16 -0600 Here is what I did: 1. Downloaded and installed the latest Perl Depot from HP. This is version 5.6.1 2. Installed DBI-1.20 with no exec format problems. 3. Tried to install DBD-Oracle-1.12 and am stumped. Here are my steps (as root): A) Set a few environment variables export ORACLE_SID=SND export ORACLE_HOME=/oracle/SND export ORACLE_USERID=/ # I put a valid UserID/pwd here B) unTar'd the DBD-Oracle-1.12 C) perl Makefile.PL D) make I. Errors appeared: oci8.c: exec format error In function `oci_hdtype_name': oci8.c:100: `OCI_HTYPE_SUBSCRIPTION' undeclared (first use in this function) oci8.c:100: (Each undeclared identifier is reported only once oci8.c:100: for each function it appears in.) oci8.c:109: `OCI_DTYPE_LOCATOR' undeclared (first use in this function) II. removed the lines from the oci8.c file (saw a message from a Tim on juct removing them). III. ran make again - worked! E) make test - failed!!! (sapsnd):/tmp/v/o/DBD-Oracle-1.12:root# make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi -I/opt/perl/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/base............../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 t/base..............FAILED tests 4-5 Failed 2/5 tests, 60.00% okay t/general.........../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 install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Exec format error at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206. at (eval 1) line 3 Compilation fa
cannot get DBD::Oracle to compile on HP 11.0. Latest DBI/DBD and Perl 5. Any ideas? <> -- Attached file included as plaintext by Listar -- -- File: out3.txt PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib \ -I/opt/DMS/appls/dma/bin/perl5/lib/5.00503/PA-RISC1.1 \ -I/opt/DMS/appls/dma/bin/perl5/lib/5.00503 -e 'use Test::Harness qw(&runtests \ $verbose); $verbose=0; runtests @ARGV;' t/*.t t/base............../usr/lib/dld.sl: Can't shl_load() a library containing Thread \ Local Storage: /usr/lib/libpthread.1 /usr/lib/dld.sl: Exec format error install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for \ module DBD::Oracle: Exec format error at \ /opt/DMS/appls/dma/bin/perl5/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169. at (eval 1) line 3 at t/base.t line 17 dubious Test returned status 8 (wstat 2048, 0x800) DIED. FAILED tests 4-5 Failed 2/5 tests, 60.00% okay t/general.........../usr/lib/dld.sl: Can't shl_load() a library containing Thread \ Local Storage: /usr/lib/libpthread.1 /usr/lib/dld.sl: Exec format error install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for \ module DBD::Oracle: Exec format error at \ /opt/DMS/appls/dma/bin/perl5/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169. at (eval 1) line 3 at t/general.t line 20 dubious Test returned status 8 (wstat 2048, 0x800) t/long............../usr/lib/dld.sl: Can't shl_load() a library containing Thread \ Local Storage: /usr/lib/libpthread.1 /usr/lib/dld.sl: Exec format error Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Exec format \ error at /opt/DMS/appls/dma/bin/perl5/lib/5.00503/PA-RISC1.1/DynaLoader.pm line 169. at t/long.t line 4 BEGIN failed--compilation aborted at t/long.t line 4. dubious Test returned status 8 (wstat 2048, 0x800) t/plsql............./usr/lib/dld.sl: Can't shl_load() a library containing Thread \ Local Storage: /usr/lib/libpthread.1 /usr/lib/dld.sl: Exec format error Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Exec form