Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Libmysequoia and precompiled PHP: msg#00009

db.carob.general

Subject: Re: Libmysequoia and precompiled PHP

Davide Ferrari <davide.ferrari-tfI6YxrfdU9Wk0Htik3J/w@xxxxxxxxxxxxxxxx> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation