I have since figured out how to do this by adding -Wl, --verbose, and it shows the library that is being found is the right one, under <sysroot>/lib.
I also have checked that this file contains the required symbols: readelf -Ws libpthread.so | grep atfork 62: 00000000 0 FUNC GLOBAL DEFAULT UND __register_atfork@GLIBC_2.4 (4) 218: 0000b46c 24 FUNC GLOBAL DEFAULT 12 pthread_atfork@GLIBC_2.4 366: 00000000 0 FILE LOCAL DEFAULT ABS old_pthread_atfork.c 764: 0000b46c 24 FUNC LOCAL DEFAULT 12 __dyn_pthread_atfork 1063: 0000b46c 24 FUNC GLOBAL DEFAULT 12 pthread_atfork@GLIBC_2.4 1202: 00000000 0 FUNC GLOBAL DEFAULT UND __register_atfork@@GLIBC_2.4 While I'm not familiar with this kind of thing, it does look to me like pthread_atfork is present, so I'm not really sure what's going on. Does anyone have any ideas? Also I'm pretty sure I'm cross compiling this the wrong way - are there instructions for doing it properly? Hamish -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto