On 02/09/14 11:36, Niels Möller wrote: > Alan James <[email protected]> writes: > >> PHP Warning: PHP Startup: Unable to load dynamic library >> '/usr/lib/php5/20131226/curl.so' - >> /usr/lib/x86_64-linux-gnu/libhogweed.so.2: undefined symbol: >> __gmpn_cnd_sub_n in Unknown on line 0 > Can you run ldd on some failing program, to see which version of gmp it > really tries to link with? The symbol should be in gmp-6.0.0, e.g., > > $ objdump -T /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0 |grep cnd > 000000000002c4d0 g DF .text 0000000000000136 Base __gmpn_cnd_sub_n > 000000000002c390 g DF .text 0000000000000136 Base __gmpn_cnd_add_n > > Regards, > /Niels >
Hi Niels, Both these programs link to /usr/local/lib/libgmp.so.10 $ objdump -T /usr/local/lib/libgmp.so.10 |grep cnd 0000000000027990 g DF .text 0000000000000136 Base __gmpn_addcnd_n 0000000000027ad0 g DF .text 0000000000000136 Base __gmpn_subcnd_n -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

