[Gluster-users] Custom rpms failing
isdtor
isdtor at gmail.com
Wed Sep 28 12:11:40 UTC 2011
I have managed to build i386 rpms for CentOS, based on the 3.2.3 SRPM,
but they don't work:
# rpm -Uhv glusterfs-core-3.2.3-1.i386.rpm
glusterfs-fuse-3.2.3-1.i386.rpm glusterfs-rdma-3.2.3-1.i386.rpm
Preparing... ########################################### [100%]
1:glusterfs-core ########################################### [ 33%]
glusterd: error while loading shared libraries: libglusterfs.so.0:
cannot open shared object file: No such file or directory
error: %post(glusterfs-core-3.2.3-1.i386) scriptlet failed, exit status 1
2:glusterfs-fuse ########################################### [ 67%]
3:glusterfs-rdma ########################################### [100%]
#
As far as I can tell, the reason for this error message is:
# cd /opt/glusterfs/3.2.3/lib/
# ll
total 556
drwxr-xr-x 3 root root 4096 Sep 28 13:01 glusterfs
lrwxrwxrwx 1 root root 17 Sep 28 13:01 libgfrpc.so -> libgfrpc.so.0.0.0
lrwxrwxrwx 1 root root 17 Sep 28 13:01 libgfrpc.so.0 -> libgfrpc.so.0.0.0
-rwxr-xr-x 1 root root 85104 Sep 28 12:47 libgfrpc.so.0.0.0
lrwxrwxrwx 1 root root 17 Sep 28 13:01 libgfxdr.so -> libgfxdr.so.0.0.0
lrwxrwxrwx 1 root root 17 Sep 28 13:01 libgfxdr.so.0 -> libgfxdr.so.0.0.0
-rwxr-xr-x 1 root root 94360 Sep 28 12:47 libgfxdr.so.0.0.0
lrwxrwxrwx 1 root root 21 Sep 28 13:01 libglusterfs.so ->
libglusterfs.so.0.0.0
lrwxrwxrwx 1 root root 21 Sep 28 13:01 libglusterfs.so.0 ->
libglusterfs.so.0.0.0
-rwxr-xr-x 1 root root 365368 Sep 28 12:47 libglusterfs.so.0.0.0
# ldd libgfrpc.so.0.0.0
linux-gate.so.1 => (0x00dca000)
libglusterfs.so.0 => not found
libdl.so.2 => /lib/libdl.so.2 (0x00f4d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00fc1000)
libc.so.6 => /lib/libc.so.6 (0x007b0000)
/lib/ld-linux.so.2 (0x00583000)
# ldd libgfxdr.so.0.0.0
linux-gate.so.1 => (0x00c36000)
libglusterfs.so.0 => not found
libgfrpc.so.0 => not found
libdl.so.2 => /lib/libdl.so.2 (0x00edd000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x00129000)
/lib/ld-linux.so.2 (0x00583000)
#
I didn't find anything obvious (x86_64 specific) to change in the spec
file, and the 64-bit version works fine. I'm pretty sure this used to
work, at least under 3.1.x. Any pointers?
More information about the Gluster-users
mailing list