GMP Bug Report

Sarun Intaralawan sarun.intaralawan at gmail.com
Sun Sep 25 05:27:03 CEST 2011


Essential Information

   - GMP version 5.0.2
   - A test program -- in attachment
   - Description -- Describe below
   - Configuration when build GMP -- no
   - Compiler -- gcc version 4.5.2
   - The output from running 'uname - a' -- Linux ubuntu 2.6.38-11-generic
   #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386 GNU/Linux
   - The output from running './config.guess' -- core2-pc-linux-gnu
   - The output from running './configfsf.guess' -- bash: ./configfsf.guess:
   Permission denied

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?

Best Regards,

Sarun Intaralawan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bignum.c
Type: text/x-csrc
Size: 200 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20110925/842d7b6d/attachment.bin>


More information about the gmp-bugs mailing list