Hi -
3.2.3 rpm spec file has an 64-bit specific entry -
---
#update /etc/ld.so.conf.d
echo "%{_prefix}/lib64" > /etc/ld.so.conf.d/glusterfs.conf
---
Please apply the ldconfig patch from JoeJulian which can be downloaded from
here bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2279
.
..
...
Cheers,
Lakshmipathi.G
FOSS Programmer.
________________________________________
From: gluster-users-bounces at gluster.org [gluster-users-bounces at
gluster.org] on behalf of isdtor [isdtor at gmail.com]
Sent: Wednesday, September 28, 2011 5:41 PM
To: gluster-users at gluster.org
Subject: [Gluster-users] Custom rpms failing
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?
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
gluster.org/cgi-bin/mailman/listinfo/gluster-users