WebHare community

Build errors

Failing test:

BezierTest:passed
FindTrimTest:passed
StreamingResizerSSE2Test:Undefined symbols for architecture x86_64:
  "_EVP_CIPHER_CTX_cleanup", referenced from:
      HareScript::Baselibs::HS_DoEvpCrypt(HSVM*, unsigned int) in bl_crypto.o
ld: symbol(s) not found for architecture x86_64
29,061 uS, overhead 986 uS
clang: error: linker command failed with exit code 1 (use -v to see invocation)

wh fixbuild also says:

- Linking lib/libblex_draw.dylib
- Linking lib/libblex_hsvm.dylib
Undefined symbols for architecture x86_64:
  "_EVP_CIPHER_CTX_cleanup", referenced from:
      HareScript::Baselibs::HS_DoEvpCrypt(HSVM*, unsigned int) in bl_crypto.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [lib/libblex_hsvm.dylib] Error 1

Don’t know whether this is related:

wh umic
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Users/wouter/projects/webhare/whtree/bin/webhare
  Reason: image not found
Update /Users/wouter/projects/webhare
Already up to date.

brew uninstall openssl and then brew install openssl might resolve it. or break other things that still rely on libssl 1.0.0 (but that version is no longer supported by openssl itself)

perhaps that already happened and you need to wh make clean

Thanks, that did the trick.

Would wh make clean be something that’s useful in wh fixbuild?

it would take a lot of time (doing a make clean is unnecessary for most issues fixbuild fixes). it also doesn’t fix everything and we don’t want to document 100 specific ways to fix issues.

The failhare points to https://www.webhare.dev/reference/installation/fromsource which has the Ultimate Solution at the end of the page