summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2012-06-15 09:53:34 +0200
committerVijay Bellur <vbellur@redhat.com>2012-07-09 05:41:28 -0700
commitf626ea8e9121baab4c0447f9aaf273e1141a79ed (patch)
treeeb9782bd546a61a4953acdb024117cf848f5e4a4
parentca297bc9ba096c64e182872692981a1d7ee250fa (diff)
Set LD_LIBRARY_PATH before starting glusterfs
This is a backport of Change-Id: I13bf0bea043351498b4bc885c5ac45b108229a0a BUG: 764655 Change-Id: I7908352f7a9baae48a7c3bd2c8845980d0dc9b96 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.com/3578 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index bdb5959ff..0b304b714 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -32,6 +32,8 @@ _init ()
cmd_line=$(echo "@sbindir@/glusterfs");
UPDATEDBCONF=/etc/updatedb.conf
+ LD_LIBRARY_PATH=@libdir@:${LD_LIBRARY_PATH}
+ export LD_LIBRARY_PATH
}
start_glusterfs ()