Subject | Re: [firebird-support] Re: Firebird on Ubuntu |
---|---|
Author | masotti |
Post date | 2008-02-26T09:23:25Z |
Kurt Federspiel ha scritto:
Seems that there are problems between libfbclient.so and
interbase-php5.so in ubuntu distros.
I solved problem ( ehm... Milan solved for me) rebuilding
interbase-php5.so from sources.
To do that, you need (as comes to mind, not sure 100% of names of packages)
apt-get install build-essential
apt-get install php5-dev
apt-get install firebird2.0-dev
May be you need also
apt-get install libxml2-dev
because had errors without, don't know if it's important for
interbase-php5.so
I downloaded all php-5.2.5 tarball, then in dir where you expanded php5
sources
cd ext/interbase
phpize
./configure --with-interbase=shared,path/to/firebird
make
then you'll find your correct interbase-php5.so in ./libs directory
path/to/firebird comes to mind as /usr/lib/firebird/2.0, but not 100%
sure, 'cause I've not a ubuntu machine near.
HTH
Ciao.
Mimmo.
> OK, I have a new Ubuntu/Firebird/PHP issue, so, Helen, please don't slap me again...er...yet..please.Had same problem some days ago (xubuntu 7.10).
>
> When installing the Firebird/Interbase PHP5 module, it errors with:
> php5-interbase: Depends: phpapi-20051025 but it is not installable.
>
>
>
Seems that there are problems between libfbclient.so and
interbase-php5.so in ubuntu distros.
I solved problem ( ehm... Milan solved for me) rebuilding
interbase-php5.so from sources.
To do that, you need (as comes to mind, not sure 100% of names of packages)
apt-get install build-essential
apt-get install php5-dev
apt-get install firebird2.0-dev
May be you need also
apt-get install libxml2-dev
because had errors without, don't know if it's important for
interbase-php5.so
I downloaded all php-5.2.5 tarball, then in dir where you expanded php5
sources
cd ext/interbase
phpize
./configure --with-interbase=shared,path/to/firebird
make
then you'll find your correct interbase-php5.so in ./libs directory
path/to/firebird comes to mind as /usr/lib/firebird/2.0, but not 100%
sure, 'cause I've not a ubuntu machine near.
HTH
Ciao.
Mimmo.