Difficulty installing Ipopt


I want to install Ipopt package but when I run Pkg.build("Ipopt") , it throws the following error.

/opt/JuliaPro/JuliaPro- undefined reference to `dgetrf2_'
/opt/JuliaPro/JuliaPro- undefined reference to `dpotrf2_'
collect2: error: ld returned 1 exit status
make[3]: *** [ipopt] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Please help me, I need it urgently.