Ludwig, Which oracle client are you using? 64bit or 32bit?
Since I don't know your environment, It could be be 64bit OS on a 32bit Oracle client... or the other way around. If that is the case, then hackish LD_LIBRARY_PATH could be the fix. Other than that, I'm no HP-UX specialist. But FYI, RHEL/Solaris works out of the box... as long as "bitness" matches with OS. regards, Andre | http://www.varon.ca On Tue, Feb 10, 2009 at 5:48 AM, Ludwig Isaac Lim <[email protected]> wrote: > > Hi: > > First of all: I'm sorry for this out of topic question. > > Has anyone encountered problems similar below in Linux (or other forms > of Unix)? > > Can't load > '/u01/app/oracle/product/10.2.0/client_1/perl/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi/auto/DBD/Oracle/Oracle.sl' > for module DBD::Oracle: Exec format error at > /u01/app/oracle/product/10.2.0/client_1/perl/lib/5.8.3/PA-RISC2.0-thread-multi/DynaLoader.pm > line > 229. > at ./db.pl line 12 > Compilation failed in require at ./db.pl line 12. > > Here is the program (up to line 13): > 1 #!/u01/app/oracle/product/10.2.0/client_1/perl/bin/perl > 2 > 3 BEGIN { > 4 push > @INC,"/u01/app/oracle/product/10.2.0/client_1/perl/lib/5.8.3"; > 5 push > @INC,"/u01/app/oracle/product/10.2.0/client_1/perl/lib/5.8.3/PA-RISC2.0-thread-multi"; > 6 push > @INC,"/u01/app/oracle/product/10.2.0/client_1/perl/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi"; > 7 push > @INC,"/u01/app/oracle/product/10.2.0/client_1/perl/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi/auto/DBI"; > 8 } > 9 > 10 use DynaLoader; > 11 use DBI; > 12 use DBD::Oracle; > 13 use strict; > > Perl version --> v5.8.3 built for PA-RISC2.0-thread-multi > HP-UX version --> 11.11 > Oracle client --> 10g > > It seems that perl is unable to load the dynamic library for Oracle. > Note : the perl I'm > using is the one that comes along with the Oracle client installation. Anyone > who has experience > in using DBI::Oracle for perl in Linux/Unix? Any ideas on how to resolve this > problem aside from > recompiling perl? > > > Thank you in advance, > > Ludwig Lim _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

