#!/bin/bash
# CHECK-BUILD CHECK-INSTALL

function error {
    echo "Check for ssl library failed."
    exit 1
}

set -e
ldconfig -p | grep libssl.so || error