On 4/27/06, Jack Howarth <[EMAIL PROTECTED]> wrote: > Andrew, > What on earth would make you think that the linker on Darwin would > reject non-PIC code in linking a shared library. The linker on Linux > doesn't do any such thing
It does (at least on some archs): /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../lib64/libadns.a(event.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../lib64/libadns.a: could not read symbols: Bad value collect2: ld returned 1 exit status Richard.