LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libguile error on RHEL/CentOS 5 (https://www.linuxquestions.org/questions/linux-newbie-8/libguile-error-on-rhel-centos-5-a-840601/)

bfcosta 10-26-2010 03:22 PM

libguile error on RHEL/CentOS 5
 
I am trying to compile meep (http://ab-initio.mit.edu/wiki/index.php/Meep) with MPI (openmpi) on a RHEL machine. I was able to build the binaries, but when I try to execute it, this error message comes up. I don't know which file libguile is missing. It was installed from the official rpm repository cdrom.

ERROR: In procedure dynamic-link:
ERROR: file: "libguilereadline-v-17", message: "file not found"

The last lines of the strace massage says:

access("/usr/lib/libguilereadline-v-17.so", R_OK) = 0
open("/usr/lib/libguilereadline-v-17.so", O_RDONLY) = 16
read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\21\0\0004\0\0\0"..., 832) = 832
close(16) = 0
write(2, "ERROR: In procedure dynamic-link"..., 98ERROR: In procedure dynamic-link:
ERROR: file: "libguilereadline-v-17", message: "file not found"
) = 98
close(0) = 0
exit_group(1) = ?

Anybody got some idea about it ?

grim76 10-26-2010 07:21 PM

Code:

yum provides */libguilereadline-v-17.so
This should search for the packages that provides the file that you are looking for.

bfcosta 10-27-2010 06:16 AM

The guile package is already installed. I also have the guile-devel package installed.

guile-1.8.0-8.20060831cvs.x86_64
guile-devel-1.8.0-8.20060831cvs.x86_64

These libs are under /usr/lib64. In fact, the library libguilereadline-v-17.so is found, as posted in the strace log.

access("/usr/lib/libguilereadline-v-17.so", R_OK) = 0
open("/usr/lib/libguilereadline-v-17.so", O_RDONLY) = 16

Once found, it is read and the error occurs:

read(16, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\21\0\0004\0\0\0"..., 832) = 832
close(16) = 0
write(2, "ERROR: In procedure dynamic-link"..., 98ERROR: In procedure dynamic-link:
ERROR: file: "libguilereadline-v-17", message: "file not found"
) = 98

Which file does libguile need to find ?

bfcosta 10-27-2010 11:29 AM

It looks like a bug in this version of libguile. Once I got version 1.8.7 (latest) this error disappears. I'll report Centos and RHEL about that.


All times are GMT -5. The time now is 05:27 AM.