Silver wrote: > First making those links is not really clean, you'd better add a line in > /etc/ld.so.conf > pointing to your directory with the libs in it - if you really need to. (and > then run ldconfig -v) > > Anyway those libs are just needed by Oracle, and the php module, so : > just tweak configure and the Makefile for php so that it really finds the > headers & libs for Oracle, > then make sure ORACLE_HOME is really set in your environment before starting > apache/php.
Hi, Silver Everything checked, when compiling I get: --- dpkg-shlibdeps: warning: unknown output from ldd on `debian/php4/usr/lib/apache/1.3/libphp4.so': ` libwtc8.so => /home/oracle/ohome/lib/libwtc8.so (0x40813000)' dpkg: /home/oracle/ohome/lib/libclntsh.so.8.0 not found. dpkg-shlibdeps: warning: could not find any packages for /home/oracle/ohome/lib/libclntsh.so.8.0 (libclntsh.so.8.0) dpkg-shlibdeps: warning: unable to find dependency information for shared library libclntsh (soname 8.0, path /home/oracle/ohome/lib/libclntsh.so.8.0, dependency field Depends) --- Compiles ok but still libphp4.so doesn't links wit libmm.so --- ldd /usr/lib/apache/1.3/libphp4.so libdb.so.3 => /lib/libdb.so.3 (0x400f6000) libpam.so.0 => /lib/libpam.so.0 (0x40131000) libdl.so.2 => /lib/libdl.so.2 (0x40139000) libz.so.1 => /usr/lib/libz.so.1 (0x4013e000) libpcre.so.3 => /usr/lib/libpcre.so.3 (0x4014d000) libclntsh.so.8.0 => /home/oracle/ohome/lib/libclntsh.so.8.0 (0x40157000) libm.so.6 => /lib/libm.so.6 (0x406c6000) libresolv.so.2 => /lib/libresolv.so.2 (0x406e3000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x406f2000) libnsl.so.1 => /lib/libnsl.so.1 (0x4071f000) libc.so.6 => /lib/libc.so.6 (0x40736000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) libwtc8.so => /home/oracle/ohome/lib/libwtc8.so (0x40813000) libpthread.so.0 => /lib/libpthread.so.0 (0x40815000) --- Then apache cannot start because of: --- apachectl configtest Syntax error on line 53 of /etc/apache/httpd.conf: Cannot load /usr/lib/apache/1.3/libphp4.so into server: /usr/lib/apache/1.3/libphp4.so: undefined symbol: mm_create --- And If I build without oci8 it links ok with libmm.so and apache is happy to run php4............. ..........but I need oracle :( So_How_Could_I_Handle_this ? thanks a lot, -- Jaume Teixi Administrador de Sistemes 6TEMS - Ducform, SA http://www.6tems.com