[mesa-users] Installing MESA
daid kahl
daid at cns.s.u-tokyo.ac.jp
Thu Oct 27 23:44:05 EDT 2011
On 28 October 2011 11:08, lixinyu <lixinyu at hku.hk> wrote:
> Hello,
> I am a student new to MESA. I have a problem regarding installing MESA. When I run ./install, the message shows
> checking if ndiff installed...
> utils/ndiff/bin/ndiff: error while loading shared libraries: libgmp.so.10: cannot open shared object file: no such file or directory
Do you try locate on the library? Here is my output:
daid at titan ~/physics/mesa % locate libgmp
/usr/lib/libgmp.a
/usr/lib/libgmp.la
/usr/lib/libgmp.so
/usr/lib/libgmp.so.10
/usr/lib/libgmp.so.10.0.2
/usr/lib/libgmp.so.3
/usr/lib/libgmpxx.a
/usr/lib/libgmpxx.la
/usr/lib/libgmpxx.so
/usr/lib/libgmpxx.so.4
/usr/lib/libgmpxx.so.4.2.2
/usr/lib/engines/libgmp.so
If it does not exist on your system, then of course you need to
install it. In Gentoo, it belongs to the gmp package. I think you
can find a similar package to install on your system and install it.
Or it could be you have an older version and should update it to get
the so.10 symlink.
If, however, it does exist, and is of the correct revision, then there
perhaps can be some conflict in your LD_LIBRARY_PATH or the version of
gcc used to compile gmp compared with the version of gcc you are
trying to build with. This can sometimes be a problem of trying to
use updated gcc in binary Linux (but it is not clear if the gcc you
are using is the one which came with your system or an upgrade). In
that case, you either need to use the gcc which came pre-compiled with
your system, or using the present gcc to rebuild the gmp tool from
source code.
Of course maybe some expert of MESA has more insight, but this is a
simple consequence of missing or incorrect build tools on your system
I think.
Cheers,
daid
More information about the Mesa-users
mailing list