[uClibc]directfb pthread linking problems

Steven J. Hill sjhill at realitydiluted.com
Sat May 25 17:14:05 UTC 2002


Alex Song wrote:
> tried it again, now uclibc-ldd doesn't crash any more but libpthread 
> still doesn't seem to link properly with directfb still. do you know who 
> originally submitted that directfb was compatible with uclibc ? i would 
> be interested to know how he/she got directfb to work with uclibc.
> 
> building just with PATH set produces the following when uclibc-ldd is run:
>         libdl.so.0 => /usr/i386-linux-uclibc/lib/libdl.so.0
>         libpthread.so.0 => /lib/libpthread.so.0
>         libc.so.0 => /usr/i386-linux-uclibc/lib/libc.so.0
>         libc.so.6 => /lib/libc.so.6
>         ld-linux.so.2 => /lib/ld-linux.so.2
> 
Your toolchain for uclibc or your toolchain in general is fucked. There
should not be any libc.so.6 or ld-linux.so.2 in the library. Did you 
make sure that when you built uClibc you had your config file set with:

     BUILD_UCLIBC_LDSO = true
     #SYSTEM_LDSO = /lib/ld-linux.so.2

It should be very obvious that your toolchain is screwed. Try again.

-S




More information about the uClibc mailing list