PHP 5.2.3 errors

From KeegansWiki
Revision as of 14:16, 14 October 2009 by Keegan (talk | contribs) (Created page with '==PHP 5.2.3 and Oracle ELF CLass errors== ===Error=== ld: fatal: file /oracle/10g/lib/libclntsh.so: wrong ELF class: ELFCLASS64 ===Mitigation=== For me, all i had to do was poi…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PHP 5.2.3 and Oracle ELF CLass errors

Error

ld: fatal: file /oracle/10g/lib/libclntsh.so: wrong ELF class: ELFCLASS64


Mitigation

For me, all i had to do was point the compiler to use the appropriate libraries for oracle. I had to edit the configure script, change any instance of "PDO_OCI_IC_PREFIX/lib/" to "PDO_OCI_IC_PREFIX/lib32/". Worked like a charm after that.