Difference between revisions of "PHP 5.2.3 errors"
Jump to navigation
Jump to search
(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…') |
(No difference)
|
Revision as of 14:16, 14 October 2009
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.