mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2008-10-27, 21:29   #1
gbvalor
 
gbvalor's Avatar
 
Aug 2002

11110 Posts
Default 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
gbvalor is offline   Reply With Quote
Old 2008-10-27, 23:51   #2
jrk
 
jrk's Avatar
 
May 2008

21078 Posts
Default

Quote:
Originally Posted by gbvalor View Post
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,
ldd says that mprime 25.7 depends on libcurl.so.4, not libcurl.so.3.
jrk is offline   Reply With Quote
Old 2008-10-28, 06:27   #3
gbvalor
 
gbvalor's Avatar
 
Aug 2002

11011112 Posts
Default

Quote:
ldd says that mprime 25.7 depends on libcurl.so.4, not libcurl.so.3.
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

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

Guillermo
gbvalor is offline   Reply With Quote
Old 2008-10-28, 14:16   #4
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

117310 Posts
Default

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.
Jeff Gilchrist is offline   Reply With Quote
Old 2008-10-28, 16:54   #5
gbvalor
 
gbvalor's Avatar
 
Aug 2002

3×37 Posts
Default

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.
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.
gbvalor is offline   Reply With Quote
Old 2008-10-29, 17:38   #6
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3×17×23 Posts
Default

Quote:
Originally Posted by gbvalor View Post
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.
I believe it is all there.
Jeff Gilchrist is offline   Reply With Quote
Old 2008-10-29, 19:52   #7
gbvalor
 
gbvalor's Avatar
 
Aug 2002

3×37 Posts
Default

Quote:
I believe it is all there.
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:

http://www.oxixares.com/pub/mprime

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
gbvalor is offline   Reply With Quote
Old 2008-11-04, 12:24   #8
Kaboom
 
Kaboom's Avatar
 
Apr 2003
Milan, Italy

1E16 Posts
Default

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.
Kaboom is offline   Reply With Quote
Old 2008-11-04, 19:44   #9
gbvalor
 
gbvalor's Avatar
 
Aug 2002

3×37 Posts
Default

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

http://download.opensuse.org/reposit...ser:backports/

Hope it can help to other gimpsers.
gbvalor is offline   Reply With Quote
Old 2008-11-06, 10:28   #10
Kaboom
 
Kaboom's Avatar
 
Apr 2003
Milan, Italy

2·3·5 Posts
Default

I don't use openSuse, thanks.
Kaboom is offline   Reply With Quote
Old 2008-11-16, 09:46   #11
Raptor
 
Dec 2003

2 Posts
Default

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
I solved it by linking

Code:
$ cd /usr/lib
$ ln -s libcurl-gnutls.so.4.0.0 libcurl.so.4
Now everything works (or, at least, seams to work).

On ubuntu 8.04 64 it works without that link.

Last fiddled with by Raptor on 2008-11-16 at 10:00
Raptor is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
64-bit CD or DVD Linux henryzz Linux 15 2008-06-29 12:30
Configuring Factoring Assignments With Sprime tmorrow Software 6 2007-06-02 05:02
Buying Linux box in Nov.(need cpu, ram MB) jasong Hardware 6 2006-10-23 18:52
mprime or sprime there_is_no_spoon Software 3 2005-05-20 01:10
Linux Drooling_Sheep Software 8 2003-11-22 05:50

All times are UTC. The time now is 16:48.


Sun Aug 1 16:48:19 UTC 2021 up 9 days, 11:17, 0 users, load averages: 2.03, 1.50, 1.44

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.