Skip to content

OpenSSL build dependency

Dimitri Fontaine edited this page Jun 20, 2017 · 1 revision

As seen in https://github.com/dimitri/pgloader/issues/437 it is possible to have OpenSSL related error messages when using a pre-built pgloader:

Undefined alien: "SSL_CTX_set_default_verify_dir"

To solve:

  • REMOVE system libssl-dev with sudo apt remove libssl-dev
  • download openssl-1.1.0 tarball from openssl.org - build and install to /usr/local
  • clone pgloader from this github and build it; run as pgloader-dir/build/bin/pgloader
  • Be happy because no more undefined alien SSL_CTX_set_default_verify_dir