bifurcation / mint

A Minimal TLS 1.3 Implementation in Go
MIT License
225 stars 36 forks source link

Problems with NSS on OSX #86

Closed ace0 closed 8 years ago

ace0 commented 8 years ago

I realize these are problems with NSS more than this repo, but perhaps folks trying to use OSX will find these helpful.

DOMSUFering

./ssl_gtests.sh gave error:

init.sh: Fatal DOMSUF env. variable is not defined.

Instead, I used:

DOMSUF=localhost ./ssl_gtests.sh

Pflatform

In my environment, I had to change platform from Darwin15.6_x86_64_cc_glibc_PTH_64_DBG.OBJ to:

PLATFORM=Darwin15.6.0_64_DBG.OBJ

distOPIA

Command dist/$PLATFORM/bin/selfserv -d tests_results/security/$HOST/ssl_gtests/ ... gave error:

dyld: Library not loaded: @executable_path/libssl3.dylib

Instead I had to set:

export DYLD_LIBRARY_PATH="$NSS_ROOT/dist/$PLATFORM/lib"
ace0 commented 8 years ago

Hmm. It seems that my problems stemmed from autoconf rather than these instructions. The following fixed my NSS build/test cycle:

brew update && brew upgrade
brew install autoconf213