You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Michael Martell (Jira)" <ji...@apache.org> on 2020/01/03 16:30:00 UTC

[jira] [Created] (GEODE-7646) Simplify SSL Examples by Eliminating Need for LD_LIBRARY_PATH on Linux

Michael Martell created GEODE-7646:
--------------------------------------

             Summary: Simplify SSL Examples by Eliminating Need for LD_LIBRARY_PATH on Linux
                 Key: GEODE-7646
                 URL: https://issues.apache.org/jira/browse/GEODE-7646
             Project: Geode
          Issue Type: Improvement
          Components: native client
            Reporter: Michael Martell


The new SSL examples for the native client currently require the LD_LIBRARY_PATH environment variable to include the path to our crypto library (libcryptoImpl.so) on Linux. This ticket is to eliminate the need for this environment variable and make Linux and OSX be consistent.

The driving force to fix this was the recent switch to using RPATH to bake in the path to our crypto library into the executable. On newer versions of OSX, System Integrity Protection (SIP) ignores LD_LIBRARY_PATH. Using RPATH was the solution for this. However, until this fix the RPATH solution doesn't work on Linux.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)