Hello Ismael,
Tuesday, May 25, 2010, 7:28:12 PM, you wrote:
ILDG> Cuando mando a ejecutar una aplicaci�n realizada en ILDG> Lazarus me da el siguiente error:
ILDG> Can not load default Firebird client ("libgds.so" or ILDG> "libfbclient.so") Check your Installation.
ILDG> Sin embargo yo tengo instalada la librer�a cliente en: ILDG> /usr/lib/libfbclient.so.2
Sin estar seguro, dir�a que tu versi�n de Firebird es un poco antigua y probablemente te veas afectado por este bug:
http://tracker.firebirdsql.org/browse/CORE-2157
el bug tracker de free pascal he sacado esto:
I found the solution.
I try load the library (fpc source rtl/unix/dynlibs.inc)
dlopen(pchar('libfbclient.so'),RTLD_LAZY);
buffer:=dlerror;
writeln(buffer); -->
/lib/libfbclient.so: undefined symbol: pthread_create
So I seach in Internet and add the pthreads unit and works!! uses {$ifdef linux}
pthreads,
{$endif}
This only need for a freepascal console application under linux.
You can close this issue, although in gtk2 works without pthreads unit. ---------------------------------------
As� que prueba a a�adir en uses el pthreads en el lpr.
Best regards,
Jos�