Subject Re: [firebird-support] libfbclient.so: cannot handle TLS data
Author Nando Dessena
Milan,
thanks for your reply.

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

I had already suggested that they go for the plain version. Will
suggest that again.

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

I know for sure that libfbclient is loaded dynamically. I do not have
direct access to the machine, so it might take a while before I get
the ldd output. I do have the output of ldd libfbclient.so:

libdl.so.2 => /lib/libdl.so.2 (0x00aba000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x00f96000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00448000)
libm.so.6 => /lib/tls/libm.so.6 (0x00111000)
libc.so.6 => /lib/tls/libc.so.6 (0x00ae4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00db4000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00657000)
/lib/ld-linux.so.2 (0x00954000)

and it does use libpthread. Does this indicate NPTL?

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

M> objdump -x executable_file | grep NEEDED

Will do ASAP.

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

I think they need to use SS because of easier database shutdown. This
application needs to shut down, backup and restore databases and shut
down and restart the Firebird server, and SS appears to be friendlier
(or at least easier to deal with).

Ciao
--
Nando Dessena
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================