in reply to Re^3: Perl - Oracle Connectivity
in thread Perl - Oracle Connectivity

Hi,

When i do file `which perl` in my production box i get the following   /usr/bin/perl: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

Similarly when I do locate Oracle.so | xargs file in my production box , i get the following

/opt/oracle/app/oracle/product/10g/perl/lib/site_perl/5.8.3/i686-linux +-thread-multi/auto/DBD/Oracle/Oracle.so: ELF 32-bit LSB shared object +, Intel 80386, version 1 (SYSV), not stripped

Thanks

Replies are listed 'Best First'.
Re^5: Perl - Oracle Connectivity
by Tux (Canon) on Jun 25, 2013 at 16:08 UTC

    They obviously do not match, ergo, DBD::Oracle won't load. Period.

    Two approaches:

    1. Install a 32bit perl somewhere else
    2. Install a 64bit DBD::Oracle

    I'd choose the easy solution if possible:

    $ sudo cpan DBD::Oracle

    Enjoy, Have FUN! H.Merijn