Are you trying to say that the .so build of GMP somehow omits -fPIC? If that's indeed the case, it's a bug. You need to follow the instructions in the GMP manual on how to report bugs and send your report to the address indicated therein. -- Torbjörn Please encrypt, key id 0xC8601622