Bug#269750: [Pkg-firebird-general] Bug#269750: libfirebird2-classic: contains libfbclient

Damyan Ivanov Damyan Ivanov <divanov@creditreform.bg>, 269750@bugs.debian.org
Tue, 14 Sep 2004 16:43:38 +0300

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Daniel Urban wrote:
> Hi Damian,
> Could youe take a look at
> http://lists.alioth.debian.org/pipermail/pkg-firebird-general/2004-July/000122.html ?
> I think that it isn't a bug,
> when you would install classic-server from original package you get
> libfbclient in lib directory.
> What do you think?

Let me explain why I think it is a problem.

You may find bug#251458 useful.

Here is the situation. I use classic for the obvious reason that it 
works with multi-processor machines (like my db server).

Remco, on the other hands uses super. This is fine. He compiles 
php4-interbase with libfirebird2-super and it gets linked against 
libfbclient.so this is fine too.

I, on the other hand, ise a tool called IBPerl, which I compile myself 
and it gets linked against libfbembed.so

And now, the problem. php4-interbase and IBPerl can't be used 
sumultaneously in apache. The conflict IMO is that both libfbclient and 
libfbembed are loaded and since their API is the same, apache hangs.

Funny thing is that bith php4-interbase and IBPerl link with libgds.so, 
which is a symlink to libfbclient (super) or libfbembed (classic).

I see two resolutions for this.

1) Force php4-interbase and IBPerl to link with libfbclient as suggested 
by Mark O'Donohue (and not libgds). This way they can both depend and 
build-depend on libfirebird2 and always link against libfbclient 
(available for both super and classic)

2) Rename both libfbembed and libfbclient to libfirebird and link 
php4-interbase, IBPerl and any other such modules (python-firebird, 
anyone?) with it. This way, any package depending on "some firebird 
client library" will get the same - the one currently installed on the 

I realize that 2) is rather intrusive change. I don't see any problems 
with it, however. The reason why I try to avoid 1) is that if my webapp 
uses libfbclient to connect to the local database, it will use a 
connection through lo network interface, posing performance penalty.


Damyan Ivanov                             Creditreform Bulgaria
divanov@creditreform.bg             http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993           fax: +359(2)920-0994
mobile: +359-88-856-6067      ICQ: 3028500      Y!M: dam3028500

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG v1.2.5 (GNU/Linux)