mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2007-03-05, 17:48   #34
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

Quote:
Originally Posted by geoff View Post
If you run `ldd ./mprime' that should show whether you have any dynamic libraries missing.
Here you go
Attached Thumbnails
Click image for larger version

Name:	err-ldd.JPG
Views:	100
Size:	29.3 KB
ID:	1557  
Cruelty is offline   Reply With Quote
Old 2007-03-06, 21:52   #35
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default

Quote:
Originally Posted by Cruelty View Post
Here you go
/lib/ld-linux.so.2: No such file or directory
ld-linux is the 32-bit ELF dynamic loader, without it you won't be able to run any recently compiled dynamically linked 32-bit application. I guess it means you have only 64-bit libraries installed.

Last fiddled with by geoff on 2007-03-06 at 21:53 Reason: dynamically linked
geoff is offline   Reply With Quote
Old 2007-03-07, 06:31   #36
Cruelty
 
Cruelty's Avatar
 
May 2005

23·7·29 Posts
Default

Any idea how to install this library on a x86-64 system?
Cruelty is offline   Reply With Quote
Old 2007-03-08, 21:10   #37
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

48516 Posts
Default

Quote:
Originally Posted by Cruelty View Post
Any idea how to install this library on a x86-64 system?
I don't know sorry. On 32-bit machines (Debian) the 32-bit libraries are in packages called libc6, libc6-dev, etc. and the 64-bit ones are in libc6-amd64, libc6-amd64, etc. and are installed in /lib64. (I have installed the 64-bit libraries on a 32-bit machine so that I can link 64-bit programs, even though I can't execute them).

Have you checked whether /lib/ld-linux.so.2 exists? It should be a link to another file, like ld-2.3.6.so or something. It may just be that the link is missing, or dangling. Running `ldconfig' should normally fix any problems like this, but I am not sure how it treats mixed 32/64-bit systems.
geoff is offline   Reply With Quote
Old 2007-03-10, 16:29   #38
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

OK. I've followed geoff's reccommendations. Here's what I have done:
  • there was no ld-linux.so.2 link, there was only ld-linux-x86-64.so.2 link pointing to ld-2.4.so
  • I've created one more link using following command
    Code:
    sudo link ld-linux-x86-64.so.2 ld-linux.so.2
  • attached is a screenshot illustrating my attempts to run mprime after those changes
I think I got stuck again...
Attached Thumbnails
Click image for larger version

Name:	mprime.JPG
Views:	84
Size:	29.7 KB
ID:	1575  
Cruelty is offline   Reply With Quote
Old 2007-03-10, 21:43   #39
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

112·17 Posts
Default

Quote:
Originally Posted by Cruelty View Post
Any idea how to install this library on a x86-64 system?
In Ubuntu, the 32-bit libraries are in the package ia32-libs.
sudo apt-get install ia32-libs
should do it.

Greg
frmky is offline   Reply With Quote
Old 2007-03-10, 22:42   #40
Cruelty
 
Cruelty's Avatar
 
May 2005

162410 Posts
Default

Quote:
Originally Posted by frmky View Post
sudo apt-get install ia32-libs

BTW: could you suggest any hardware monitor that would work under Ubuntu? I've installed X sensors but it's not working... I would like to monitor CPU temperature.

Last fiddled with by Cruelty on 2007-03-10 at 23:01
Cruelty is offline   Reply With Quote
Old 2007-03-11, 00:19   #41
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

40118 Posts
Default

Quote:
Originally Posted by Cruelty View Post
BTW: could you suggest any hardware monitor that would work under Ubuntu? I've installed X sensors but it's not working... I would like to monitor CPU temperature.
Did you try hardware-monitor? It's a gnome applet.
sudo apt-get install hardware-monitor

Greg
frmky is offline   Reply With Quote
Old 2007-03-11, 00:45   #42
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

32·883 Posts
Default

Code:
watch /proc/acpi/thermal_zone/something/temperature
(We think this is correct. We're doing this from memory.)

We've used (an older version) of the program below in the past. It reads the same /proc stuff.

http://computertemp.berlios.de/screenshots.php

You will have to install the .deb manually.

Code:
sudo dpkg -i filename.deb
Xyzzy is offline   Reply With Quote
Old 2007-03-11, 08:08   #43
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

Quote:
Originally Posted by frmky View Post
sudo apt-get install hardware-monitor
I've installed it, now how do I launch it? Typing "hardware-monitor" at command prompt does not work
Cruelty is offline   Reply With Quote
Old 2007-03-11, 22:14   #44
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

Unfortunately none of the suggested software seems to work for my configuration
The only reading I was able to get was "THRM: 40C" using "computertemp" and "GKrellM"... I would really welcome "core temp" for Linux...

Last fiddled with by Cruelty on 2007-03-11 at 22:22
Cruelty is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 22:32.

Wed Jan 27 22:32:42 UTC 2021 up 55 days, 18:44, 0 users, load averages: 3.62, 3.57, 3.52

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.