Installation of PECL OCI8. Installed the F10 base, but also have compat6 and compat7 installed under /usr/local/lib/compat. Thus the issue with two versions of libc.so.6.
The question is how can I tell PECL to compile with the /compat/linux/usr/lib version instead of the /usr/local/lib/compat? Or maybe I'm looking at the wrong issue?
The question is how can I tell PECL to compile with the /compat/linux/usr/lib version instead of the /usr/local/lib/compat? Or maybe I'm looking at the wrong issue?
Code:
PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/oci8.so' - /usr/local/lib/compat/libc.so.6: version GLIBC_2.1.3
required by /compat/linux/usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 not defined in Unknown on line 0
Code:
ldd /usr/local/lib/php/20090626/oci8.so
/usr/local/lib/php/20090626/oci8.so:
libclntsh.so.10.1 => /compat/linux/usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 (0x28300000)
libc.so.7 => /lib/libc.so.7 (0x28091000)
libnnz10.so => /compat/linux/usr/lib/oracle/10.2.0.3/client/lib/libnnz10.so (0x290e5000)
libdl.so.2 => /usr/compat/linux/lib/libdl.so.2 (0x281d5000)
libm.so.6 => /usr/compat/linux/lib/libm.so.6 (0x292eb000)
libpthread.so.0 => /usr/compat/linux/lib/libpthread.so.0 (0x281da000)
libnsl.so.1 => /usr/compat/linux/lib/libnsl.so.1 (0x29314000)
libc.so.6 => /usr/local/lib/compat/libc.so.6 (0x2932e000)
ld-linux.so.2 (0x29415000)