Re: how_To_Handle_this? Re:final help for build php4 with oci8 on debian
- To: Silver <silver@royal.net>, "Choe, Hyun-ho" <firebird@ccube.co.kr>, Mark Brown <broonie@sirena.org.uk>, Petr Cech <cech@debian.org>, Debian User <debian-user@lists.debian.org>, Debian Devel <debian-devel@lists.debian.org>
- Subject: Re: how_To_Handle_this? Re:final help for build php4 with oci8 on debian
- From: Jaume Teixi <teixi@6tems.com>
- Date: Thu, 16 Nov 2000 10:59:12 +0100
- Message-id: <[🔎] 3A13AFEF.10C4822C@6tems.com>
- References: <20001113222544.B30977@atrey.karlin.mff.cuni.cz> <3A106185.C048864A@6tems.com> <20001113225602.A3671@atrey.karlin.mff.cuni.cz> <3A113CDF.116A7EEC@6tems.com> <20001114142613.A19978@atrey.karlin.mff.cuni.cz> <3A113FD4.BCCA1147@6tems.com> <20001114144022.B20934@atrey.karlin.mff.cuni.cz> <3A1149AA.4E8B56DE@6tems.com> <20001114161816.B13860@atrey.karlin.mff.cuni.cz> <3A115B58.928F3976@6tems.com> <20001114164032.B24821@atrey.karlin.mff.cuni.cz> <3A1176E0.A9B039D3@6tems.com> <01d501c04e64$64048d90$f581a13e@Shoubib> <3A126A14.35973947@6tems.com> <008401c04f01$dfa5a3b0$f581a13e@Shoubib> <[🔎] 3A12E019.8C35E161@6tems.com> <008901c04f58$aa6b9ef0$0401a8c0@Shoubib>
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
Reply to: