mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Information & Answers (https://www.mersenneforum.org/forumdisplay.php?f=38)
-   -   prime libgmp.so.10 error... (https://www.mersenneforum.org/showthread.php?t=22654)

starionhost 2017-10-23 04:47

prime libgmp.so.10 error...
 
Just tried to upgrade from an old version (28.10) of mprime to the latest one (29.3)....overwrote the old stuff as suggested...

I get this when I try to run mprime -m now:

"error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory"

Not sure what to do now.

paulunderwood 2017-10-23 05:15

What does [c]uname -a[/c] give?

You could download the latest GMP from [url]https://gmplib.org/[/url] and compile, test and install it.

What does [c]locate libgmp.so[/c] give? You might get away with making a soft link to libgmp.so.10.

You also might be able to install the library through your system's package manager.

starionhost 2017-10-23 15:45

uname -a says;

Linux mail.starionhost.net 2.6.32-696.13.2.el6.x86_64 #1 SMP Thu Oct 5 21:22:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

locate says no such file or directory in response.

mprime or prime95 is not in the available packages.

So back to square one.

paulunderwood 2017-10-23 15:51

[c]yum install gmp-devel[/c] will do it. Maybe first try [c]yum install libgmp10[/c]. On my Debian 8 it is called "libgmp10"!

starionhost 2017-10-23 16:08

yum install gmp-devel

Installed. No change in error message.

There was no libgmp10 in packages.

paulunderwood 2017-10-23 16:17

Does [c]lib64gmp10[/c] exist in your packages? Can you do a [URL="https://www.centos.org/docs/5/html/yum/sn-searching-packages.html"]search[/URL] in the package manager for "gmp"?

Mark Rose 2017-10-23 16:43

You need to run `sudo updatedb` before running `locate` if you've made recent changes.

starionhost 2017-10-23 17:13

Package gmp-4.3.1-12.el6.x86_64 already installed and latest version
Package gmp-devel-4.3.1-12.el6.x86_64 already installed and latest version

gmp.i686 : A GNU arbitrary precision library
gmp.x86_64 : A GNU arbitrary precision library
gmp-devel.i686 : Development tools for the GNU MP arbitrary precision library
gmp-devel.x86_64 : Development tools for the GNU MP arbitrary precision library
gmp-static.x86_64 : Development tools for the GNU MP arbitrary precision library

No change. The file is simply not there.

paulunderwood 2017-10-23 17:24

If [c]yum provides libgmp.so.10[/c] gives nothing, I guess your only route is to download, compile, test and install the latest GMP.

Mark Rose 2017-10-23 17:47

Also, it wouldn't hurt to run `sudo ldconfig`.

starionhost 2017-10-23 17:53

I guess I'd like to know why it is broken. I changed nothing about my server's configuration, and suddenly this. I don't find any reference to it in changelogs between the different versions.


All times are UTC. The time now is 10:29.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.