Subject Re: [firebird-support] Re: Freepascal 32 bit service on debian amd64 / 64 bit firebird?
Author John vd Waeter
Never mind, found it!

ldd libfbclient.so showed that it depended on another library that was
missing.
After installing this library, everything worked.

Thanks for thinking along :-)

John

On 11-7-2013 10:15, John vd Waeter wrote:
> 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
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>
>