Bug 1376858 - crypt xlator should use linker and compile options from pkg-config instaed of "-lssl -lcrypo"
Summary: crypt xlator should use linker and compile options from pkg-config instaed of...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-16 15:36 UTC by Niels de Vos
Modified: 2019-05-09 20:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-09 20:11:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Niels de Vos 2016-09-16 15:36:03 UTC
Description of problem:
The crypt xlator does not use the same compiler and linker flags as set by the distribution.

./configure.ac should define the options based on pkg-config or similar.

xlators/encryption/crypt/src/Makefile.am is the affected file:

crypt_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
	-lssl -lcrypto

Comment 1 Niels de Vos 2016-09-16 15:43:26 UTC
-lcrypto is also used in xlators/mgmt/glusterd/src/Makefile.am:

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)

Comment 2 Amar Tumballi 2019-05-09 20:11:07 UTC
Removed Crypt xlator from the codebase as it was not actively maintained. (>=glusterf-6.0)


Note You need to log in before you can comment on or make changes to this bug.