GMP Bug Report

Sarun Intaralawan sarun.intaralawan at gmail.com
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 gentoo.org> wrote:

> 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
>



-- 
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