Subject libgds.so undefined reference
Author axsp2000
Hi to all,
i've just installed Firebird 2.0.3 SS i386 on a Redhat Enterprise
Server 4 system. The idea is to upgrade the server from a Firebird SS
1.5.1 i386, to the latest Firebird release.

I have some C application using Firebird API. These applications run
fine with 1.5 engine.

Starting one of this application with the FB SS 2.0.3, it stops
immediately complaining about shared libraries. The message returned
from application is: "libfbclient.so.1: cannot open shared object
file: No such file or directory".

libfbclient.so.1 was not there so i create it in /usr/lib/ linking it
to libfbclient.so.2

Tried run again the application the error changed to
"/usr/lib/libfbclient.so.1: undefined symbol: pthread_create"

I made also an attempt of recompiling the source codes of my C
application receiveing the following errors:

"/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_rwlockattr_setkind_np'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_create'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_getspecific'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_rwlock_rdlock'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_rwlock_init'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_key_delete'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_mutexattr_destroy'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_rwlock_destroy'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_rwlock_unlock'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_detach'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_key_create'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_rwlock_wrlock'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_rwlockattr_init'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_rwlockattr_destroy'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_mutexattr_init'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libgds.so: undefined
reference to `pthread_setspecific'"

Compilation under Firebird 1.5.1 SS works fine, without any error, but
with version 2.0.3 no way.

Do you have any suggestion/idea ?

Thank you very much

Alessandro