GMP Bug Report

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

2011/9/24 Sarun Intaralawan <sarun.intaralawan at>:
> 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: cannot open
>> shared object file: No such file or directory
> I'm pretty sure that there is in /usr/local/lib and I still got
> that error. What should I do?

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

More information about the gmp-bugs mailing list