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

Debian on a real non-free world (debian php4 and oracle)

I have oracle (company requirements:/ running on a potato box (my
requirements :)

Now I'm trying to compile php4 with oracle support but then I get an
libphp4.so for apache on the output that doesnt' links with libmm....so
apache doesnt' works with message:
Cannot load /usr/lib/apache/1.3/libphp4.so into server
/usr/lib/apache/1.3/libphp4.so: undefined symbol: mm_create

If I compile without oracle support (--with-oci8=/home/oracle/ohome \ )
it links succesfully with libmm and php4 and apache works

When compiling php4 I get:
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 =>
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)

then libphp4.so doesn't links with libmm

I guess that either than in debian/control do:
	LD_LIBRARY_PATH=`pwd`/debian/php4/usr/lib/apache/1.3 dh_shlibdeps -a

a) If SOMEONE could tellme a method to run dh_shlibdeps to all libraries
libwtc8.so and
libclntsh.so.8.0 (oracle ones)
at the end or without doing this I will get the happy output.........

b) Or maybe howto run dpkg-shlibdeps manually for each lib ??

c) what I miss if I remove libmm11-dev dependencies when compiling php4

Could you helpme on this ?


Jaume Teixi
    Administrador de Sistemes
    6TEMS - Ducform, SA

Reply to: