version 1.1, 2015/04/20 18:20:13
|
version 1.2, 2015/09/25 20:24:20
|
|
|
| |
create_ssl_links() { | create_ssl_links() { |
# If LD_LIBRARY_PATH contains a path to the directory that we're creating | # If LD_LIBRARY_PATH contains a path to the directory that we're creating |
# links in (i.e. /opt/microsoft/omi/lib), it affects the output of ldd |
# links in (i.e. /opt/omi/lib), it affects the output of ldd such that we |
# such that we can create a circular link ... (unset resolves that) |
# can create a circular link ... (unset resolves that) |
unset LD_LIBRARY_PATH | unset LD_LIBRARY_PATH |
| |
LIBRARY_DIR='/opt/microsoft/omi/lib' |
LIBRARY_DIR='/opt/omi/lib' |
| |
OPENSSL_PATH=`which openssl` | OPENSSL_PATH=`which openssl` |
LIBSSL_PATH=`ldd ${OPENSSL_PATH} | grep libssl.so | awk '{print $3}'` | LIBSSL_PATH=`ldd ${OPENSSL_PATH} | grep libssl.so | awk '{print $3}'` |