You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/01/13 22:07:19 UTC

[GitHub] [incubator-mxnet] lanking520 commented on a change in pull request #19751: [BUGFIX] avoid exposing libraries symbol

lanking520 commented on a change in pull request #19751:
URL: https://github.com/apache/incubator-mxnet/pull/19751#discussion_r556887368



##########
File path: make/staticbuild/linux_cpu.mk
##########
@@ -37,7 +37,7 @@ DEBUG = 0
 USE_SIGNAL_HANDLER = 1
 
 # the additional link flags you want to add
-ADD_LDFLAGS += -L$(DEPS_PATH)/lib -lpng -ltiff -ljpeg -lz -lgfortran -ldl  -Wl,--version-script=$(CURDIR)/make/config/libmxnet.ver,-rpath,'$${ORIGIN}',--gc-sections

Review comment:
       It is caused by some other packages looking for openssl functions. If the package contains openssl dependencies, they may end up loading MXNet ones before loading its own. The mismatch on ssl versions caused the other packages malfunctioning.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org