Skip to content

Instantly share code, notes, and snippets.

@aurimasniekis
Created September 22, 2017 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aurimasniekis/422e6dfaf3b256d1d9bcea40ae54ef72 to your computer and use it in GitHub Desktop.
Save aurimasniekis/422e6dfaf3b256d1d9bcea40ae54ef72 to your computer and use it in GitHub Desktop.
➜ crystal git:(feature/opensll_pbkdf2_implementation) make std_spec
Using /usr/local/bin/llvm-config [version=5.0.0]
./bin/crystal build -o .build/std_spec spec/std_spec.cr
Undefined symbols for architecture x86_64:
"_PKCS5_PBKDF2_HMAC", referenced from:
_*OpenSSL::PKCS5::pbkdf2_hmac<Symbol, String, String, Int32, Int32>:Slice(UInt8) in O-penS-S-L-5858P-K-C-S-5.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/aniekis/Projects/Home/Desktop/Crystal/crystal/.build/std_spec' -rdynamic -lyaml `/usr/local/bin/llvm-config --libs --system-libs --ldflags 2> /dev/null` -lstdc++ `command -v pkg-config > /dev/null && pkg-config --libs libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs libcrypto || printf %s '-lcrypto'` -lreadline -lgmp -lz -lxml2 -lpcre -lgc -lpthread /Users/aniekis/Projects/Home/Desktop/Crystal/crystal/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib`
make: *** [.build/std_spec] Error 1
➜ crystal git:(feature/opensll_pbkdf2_implementation) PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig" make std_spec
Using /usr/local/bin/llvm-config [version=5.0.0]
./bin/crystal build -o .build/std_spec spec/std_spec.cr
.build/std_spec
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................***...........................................................................................................................................................................................................................................................................................................................................
Pending:
Math Functions for computing quotient and remainder
Thread::ConditionVariable signals
Thread::ConditionVariable broadcasts
Thread::ConditionVariable waits and send signal
Finished in 6.13 seconds
5286 examples, 0 failures, 0 errors, 4 pending
➜ crystal git:(feature/opensll_pbkdf2_implementation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment