diff options
| author | Mohit Agrawal <moagrawal@redhat.com> | 2019-04-05 09:17:02 +0530 | 
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2019-04-10 03:26:53 +0000 | 
| commit | 064aad721c249d63fb89686b32e5d15de50e2f8c (patch) | |
| tree | c3ae6934dd17bc3ccd7ddb965ac066d6dfef3bdc | |
| parent | efbf8abcc3bc729a90d4a7b57dc515f1df8a5863 (diff) | |
build: glusterfs build is failing on RHEL-6
Problem: glusterfs build is throwing error undefined
         reference to `dlclose' on RHEL 6
Solution: Add LIB_DL link in Makefile.am to resolve the same
Fixes: bz#1696512
Change-Id: I58019ca9e29d569d8e6df282b8ab178ad540843b
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
| -rw-r--r-- | xlators/mgmt/glusterd/src/Makefile.am | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am index 1f7a3125ac2..f15b66d10a8 100644 --- a/xlators/mgmt/glusterd/src/Makefile.am +++ b/xlators/mgmt/glusterd/src/Makefile.am @@ -30,7 +30,7 @@ glusterd_la_SOURCES = glusterd.c glusterd-handler.c glusterd-sm.c \  glusterd_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \  	$(top_builddir)/rpc/xdr/src/libgfxdr.la \  	$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \ -	$(XML_LIBS) -lcrypto $(URCU_LIBS) $(URCU_CDS_LIBS) +	$(XML_LIBS) -lcrypto $(URCU_LIBS) $(URCU_CDS_LIBS) $(LIB_DL)  noinst_HEADERS = glusterd.h glusterd-utils.h glusterd-op-sm.h \  	glusterd-sm.h glusterd-store.h glusterd-mem-types.h \  | 
