Software error:

install_driver(Oracle) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/local/bin/perl: fatal: /u01/app/oracle/product/10.1.0/db_3/lib/libclntsh.so.10.1: wrong ELF class: ELFCLASS64 at /usr/local/lib/perl5/5.8.8/sun4-solaris/DynaLoader.pm line 230, <PRODUCT> line 4.
 at (eval 25) line 3
Compilation failed in require at (eval 25) line 3, <PRODUCT> line 4.
Perhaps a required shared library or dll isn't installed where expected
 at /opt/carms-utils/otrs/bin/cgi-bin/../../Kernel/System/DB.pm line 195

 

 

I am having an issue when linking to the oracle driver. OTRS or perl is trying to link to the 64 bit code file libclntsh.so.10.1 in directory /u01/app/oracle/product/10.1.0/db_3/lib/ but I need it to link to the 32 bit code located in /u01/app/oracle/product/10.1.0/db_3/lib32 to work correctly.

 

Does anyone know a fix for this?

 

Thanks for the help.

 

Dan King
Software Developer
Canadian Resident Matching Service
613.237.0075  ext. 241
(Toll free) 877.CARMS.42
171 Nepean Street, Suite 300
Ottawa
, ON, CAN    K2P 0B4
www.carms.ca

------------------------------------------------------------------------------------

This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and or privileged information.  If you are not the intended recipient or this information has been forwarded in error, please contact the sender by reply e-mail and destroy copies of the original message. 
Ce message (incluant toute pièce jointe) s'adresse uniquement au(x) destinataire(s) prévu(s) ou à une personne autorisée à le recevoir en son (leur) nom. Il pourrait contenir des renseignements confidentiels ou protégés.  Si vous l'avez reçu par erreur, nous vous prions d'en informer l'auteur dans les meilleurs délais, de ne pas divulguer son contenu et de le supprimer de votre système. Merci.