Subject Re: [firebird-support] Re: Freepascal 32 bit service on debian amd64 / 64 bit firebird?
Author John vd Waeter
On 11-7-2013 09:44, Philippe Makowski wrote:
> Le 10/07/13 16:13, John vd Waeter a écrit :
>> So I tried:
>> - get a 32 bit libfbclient.so from another 32 bit machine.
>> - put it in /lib/i386-linux-gnu
>> - made a reference in /etc/ld.so.conf.d
>> - run ldconfig
>>
> bad idea
>
>> But the ibconnection in freepascal still cannot find it.
>> Maybe this is a freepascal question... I don't know.
>> Is it enough to get libfbclient.so from a 32 bit machine or is does it
>> depend on more 32 bit libraries?
> certainly more
>
> you should better do something like :
>
> sudo dpkg --add-architecture i386
> sudo apt-get update
> sudo apt-get install libfbclient2:i386
>
>
Hi Philippe,

Thanks for answering.

That last extension (:I386) did it to get the 32 bit library. I didn't
know about such extension.
But still "cannot load error" while starting the program.
Could it be it finds the 64 bit libfbclient.so first and throws the "can
not load default Firebird clients" error?


John