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

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



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.

Silver

----- Original Message -----
From: "Jaume Teixi" <teixi@6tems.com>
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>; "Ralf S. Engelschall" <rse@engelschall.com>
Sent: Wednesday, November 15, 2000 8:12 PM
Subject: 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 \
>  --enable-versioning
>
> 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
> Depends)
> ---
>
> 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
> (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 (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,
> jaume.
>
>
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
>
>



Reply to: