GMP Bug Report

Sarun Intaralawan sarun.intaralawan at
Sun Sep 25 15:05:00 CEST 2011

Dear Mike,

Thank you for your reply, problem solved.

One more question, after I've recompiled with build option --prefix=../gmp
and I want to use this on Windows. How would I compile the test program? (I
use MinGW as the compiler)

Best Regards,
Sarun Intaralawan

On Sun, Sep 25, 2011 at 3:17 PM, Mike Frysinger <vapier at> wrote:

> 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`.
> -mike

Sarun Intaralawan
86/86 Moo 16 Mooban Ronnachai
Soi Phahonyothin 73 Phahonyothin Rd.
Tambon Kookot Amphur Lam Lukka
Phathumthani 12130

ด.ช.ศรัณญ์ อินทรลาวัณย์
86/86 หมู่ 16 หมู่บ้าน รณชัย
ซอย พหลโยธิน 73 ถนนพหลโยธิน
ตำบล คูคต อำเภอ ลำลูกกา
จังหวัด ปทุมธานี 12130

More information about the gmp-bugs mailing list