mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   sprime v25.7 for linux? (https://www.mersenneforum.org/showthread.php?t=10854)

gbvalor 2008-10-27 21:29

sprime v25.7 for linux?
 
Hello,

I've been trying to install new mprime 25.7 to deal with V5 server but I can't because of a libcurl3 library dependency.

My system is Linux openSUSE 11.0 (64-bits). It has libcurl4 library, not the libcurl3 one,

George, it is possible to release a statically linked sprime to avoid this problem.

Regards.

Guillermo

jrk 2008-10-27 23:51

[quote=gbvalor;146841]I've been trying to install new mprime 25.7 to deal with V5 server but I can't because of a libcurl3 library dependency.

My system is Linux openSUSE 11.0 (64-bits). It has libcurl4 library, not the libcurl3 one, [/quote]
ldd says that mprime 25.7 depends on libcurl.so.4, not libcurl.so.3.

gbvalor 2008-10-28 06:27

[QUOTE]ldd says that mprime 25.7 depends on libcurl.so.4, not libcurl.so.3. [/QUOTE]

You're right, linux64 binary version depends on libcurl4. I tried the 32 bits one: The only linux software I read in 'upgrading instructions for existing users' .

I must read all the page :wink:

Anyway I think is a good idea to provide a statically linked version.

Guillermo

Jeff Gilchrist 2008-10-28 14:16

George has tried to create a statically linked version, as have I but we both keep getting errors from CURL when we try to link. I'm not sure if there is something that CURL relies on that the right library isn't available for static linking.

In the end I took the source code (which is also available BTW) and just compiled it on the machine so it linked with the right stuff for that system.

gbvalor 2008-10-28 16:54

[QUOTE]In the end I took the source code (which is also available BTW) and just compiled it on the machine so it linked with the right stuff for that system.[/QUOTE]

Has the resulting code full functionality?. Prior versions of available mprime/prime95 source code were not complete because of security stuff. May be now with V5 server is different.

Jeff Gilchrist 2008-10-29 17:38

[QUOTE=gbvalor;146946]Has the resulting code full functionality?. Prior versions of available mprime/prime95 source code were not complete because of security stuff. May be now with V5 server is different.[/QUOTE]

I believe it is all there.

gbvalor 2008-10-29 19:52

[QUOTE]I believe it is all there.[/QUOTE]

I downloaded the code. Is not easy to build. I finally used the linux64 binary to build a mprime RPM for opensuse (64 bits). Now is running OK in my server.

By the way, users can find the RPMS here:

[url]http://www.oxixares.com/pub/mprime[/url]

They are for opensuse/suse. Some years ago they also intended to run for RedHat, but now I don't know how they can run in a Fedora distro.

These RPMs create a user 'mersenne' and the working directory in '/var/mprime'. It includes a daemon we can manage to start at boot time and have the usual arguments 'start' 'stop' 'restart' 'manualstart' and 'status'. Included command 'mprimelist' lists latest lines for mprime output.

For sure the RPMS need to update some details, but they worked for me.

Regards,

Guillermo

Kaboom 2008-11-04 12:24

On my linux 32 bit box I only have libcurl.so.4, but I found out that if I symlink it to libcurl.so.3, the mprime library works just fine.

gbvalor 2008-11-04 19:44

[QUOTE]On my linux 32 bit box I only have libcurl.so.4, but I found out that if I symlink it to libcurl.so.3, the mprime library works just fine.[/QUOTE]

Hum ...It can be a source of problems if you have in the future other packages installed using libcurl3.

The solution I found was, simply, install also libcurl3 in my system. I was lucky in finding such rpm for opensuse not interfering with installed libcurl4 one.

Here is the link from where I got it:

[url]http://download.opensuse.org/repositories/home:pbleser:backports/[/url]

Hope it can help to other gimpsers.

Kaboom 2008-11-06 10:28

I don't use openSuse, thanks.

Raptor 2008-11-16 09:46

On ubuntu 7.10 64bit I had the same problem (using 25.73 64 bit):

[code]
$ ./mprime
./mprime: error while loading shared libraries: libcurl.so.4:
cannot open shared object file: No such file or directory
[/code]

I solved it by linking

[code]
$ cd /usr/lib
$ ln -s libcurl-gnutls.so.4.0.0 libcurl.so.4
[/code]

Now everything works (or, at least, seams to work).

On ubuntu 8.04 64 it works without that link.


All times are UTC. The time now is 06:47.

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