[fpc-pascal] Can't load the libc.so.6 library

Daniël Mantione daniel.mantione at freepascal.org
Thu Dec 14 09:55:21 CET 2006



Op Wed, 13 Dec 2006, schreef Ramiro Brescia:

> Hi.
> 
> I'm trying to load libc.so.6 (placed in /lib/tls) through a symbolic link
> (placed in /usr/lib), with {$LINKLIB libc.so.6} .
> The linker shows:
> 
> /usr/bin/../lib/libpthread- 2.3.6.so: referencia a `errno at GLIBC_PRIVATE' sin
> definir
> /usr/bin/../lib/libpthread-2.3.6.so: referencia a
> `__libc_dl_error_tsd at GLIBC_PRIVATE' sin definir
> /usr/bin/../lib/libpthread-2.3.6.so: referencia a `__resp at GLIBC_PRIVATE' sin
> definir
> /usr/bin/../lib/libpthread-2.3.6.so: referencia a `h_errno at GLIBC_PRIVATE' sin
> definir
> soft_phone_linux.lpr(23,1) Error: Error while linking
> 
> How could I load the library?

You can't. This is classical libc breakage, if the libc programmers don't 
like the weather, they break stuff. Upgrading to a more modern 
installation usually helps.

Daniël


More information about the fpc-pascal mailing list