GMP Bug Report

Mike Frysinger vapier at gentoo.org
Sun Sep 25 10:17:30 CEST 2011


2011/9/24 Sarun Intaralawan <sarun.intaralawan at gmail.com>:
> The problem is, when I compiled the test program with gcc bignum.c -lgmp, I
> got no error. But when I use command ./a.out I got this :
>
> ./a.out: error while loading shared libraries: libgmp.so.10: cannot open
>> shared object file: No such file or directory
>
> I'm pretty sure that there is libgmp.so in /usr/local/lib and I still got
> that error. What should I do?

sounds like your host system is misconfigured.  make sure
/etc/ld.so.conf lists /usr/local/lib and then run `ldconfig`.
-mike


More information about the gmp-bugs mailing list