[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

is_a_bug? Re:final help for build php4 with oci8 on debian

When I compile php4 with:
 --enable-track-vars \
 --with-oci8=/home/oracle/ohome \
 --with-openssl=shared \

And have done follow links:
ln -s /home/oracle/ohome/lib/libclntsh.so.8.0 /usr/lib/libclntsh.so.8.0
ln -s /home/oracle/ohome/lib/libwtc8.so /usr/lib/libwtc8.so

I guet this output:
LD_LIBRARY_PATH=`pwd`/debian/php4/usr/lib/apache/1.3 dh_shlibdeps -a
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: /usr/lib/libclntsh.so.8.0 not found.
dpkg-shlibdeps: warning: could not find any packages for
/usr/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 /usr/lib/libclntsh.so.8.0, dependency field

And then when starting apache
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

Problem is libphp4.so doesnt' links with libmm.so
ldd debian/php4/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
        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 (0x40720000)
        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)

And if I build without oci8 it links correctly to libmm.so
But I need oracle :(

could you helpme how to handle this ?

thanks a lot,

Reply to: