Davide Ferrari <[EMAIL PROTECTED]> writes:

> I'm experimenting with Sequoia and I'm trying to connect to a sequoia 
> installation through PHP 5.2.0.
> I'm doing test in a Debian Sarge with etch backports environment, where PHP 
> is 
> built with shared libmysqlclient, installed via repository (as found in 
> http://carob.continuent.org/LibMySequoia)
>
> ldd /usr/lib/php5/20060613/mysql.so
>         linux-gate.so.1 =>  (0xbfffe000)
>         libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0xb7f36000)

AFAIK libmysequoia is not compatible yet with libmysqlclient.so.12


> LD_PRELOAD=/usr/lib/libmysequoia.so.0.15 /usr/bin/php test.php
>
> but it simply returns me a segmentation fault.
> I'm not sure if I'm operating correctly this way or if I must recompile PHP 
> with mysqli switch pointing to libmysequoia.

It seems you have a libmysqlclient.so.12/libmysqlclient.so.15 mix on
your host.


try "ldd -v" and things like:

LD_BIND_NOW=oui LD_DEBUG=libs LD_DEBUG_OUTPUT=/tmp/ldd.dbg 
LD_PRELOAD=src/.libs/libmysequoia.so.15.0.0 php



_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to