Subject Re: [firebird-support] libfbclient.so: cannot handle TLS data
Author Milan Babuskov
Hi Nando,

Nando Dessena wrote:
> The application is developed in Kylix 3; isql and gbak work ok, some
> demo applications written in C work ok, a simple demo application
> written in K3 doesn't. This seems to suggest that the rtl of Kylix has
> something to do with the problem. Using a non-NPTL version of Fb seems
> to work, but unfortunately the system needs to run the NPTL version.

Please note that non-NPTL version of Firebird should work fine on NPTL
system. It would only not have any benefits of NPTL. Unless you have
many users using the database, you probably won't ever notice the
difference. Since you're installing both Firebird and application on the
same machine, I suppose that you don't have many users attaching to
Firebird.

> Can anyone suggest anything to check or fix?

You should investigate which libraries is your Kylix application using.
You can do this with 'ldd' command. Look for a threading library like
libpthread and of course the firebird client. If you don't see any of
those, then Kylix is probably using a statically linked threading
library (or even Interbase client as well), which is probably a dead-end
(unless you can tweak that in some config file or preferences dialog in
the tool itself).

Could you copy/paste the ldd output here? And also, result of:

objdump -x executable_file | grep NEEDED

P.S. One alternative is to install and use Classic and avoid the issue
altogether.

--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com