Hi, I have written a perl script, which is called by a soap service. It used to run fine, until we upgraded from Oracle 8i to Oracle 9i. The same program runs fine when called from the command line. I think it may be because some new environment variable has not been set. Please let me know if you have any ideas.
The error is in this line, $dbh = DBI->connect($DSN, $DBUSER , $DBPASSWORD) The apache error logs give me this : [Fri May 21 05:07:41 2004] [error] [client localhost] install_driver(Oracle) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBD/Oracle/Oracle.so ' for module DBD::Oracle: ld.so.1: /usr/local/bin/perl5.8.3: fatal: /app/oracle/lib/libclntsh.so.9.0: wrong ELF class: ELFCLASS64 at /usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229. [Fri May 21 05:07:41 2004] [error] [client localhost] at (eval 1) line 3 [Fri May 21 05:07:41 2004] [error] [client localhost] Compilation failed in require at (eval 1) line 3. [Fri May 21 05:07:41 2004] [error] [client localhost] Perhaps a required shared library or dll isn't installed where expected [Fri May 21 05:07:41 2004] [error] [client localhost] at /vol/devel4/offshore/Workspaces/nbezzala_ws/scripts/FTUPA/Engine.perl line 733 Thanks, Nitish
