Closed euclaise closed 2 years ago
Try the following:
Uninstall the latest version and rollback the older version 2 of mbedtls
brew remove mbedtls
brew install mbedtls@2
Edit the install.sh and change the mbedtls
to use mbedtls@2
, this to avoid the reinstall of the new version.
Compile with REPACKAGE=true ./install.sh
???
Profit!
@cicloid thanks, I can confirm that your solution works!
The remaining questions is for what they need crypto as crappy as arc4. :-)
Ran into the same issue, maybe someone should change install.sh to ask for mbedtls@2 in the first place.
@carlosonunez please commit #13. Currently mbedtls points to mbedtls@3 (incompatible changes in mbedtls API since 2.27.0)
I had the same mbedtls
issue and after the ...@2
fix, it proceeds but now I get a new error with jansson.h
. Unclear what to do now. (This is on MacOS 12.0 Beta (21A5304g))
In file included from /tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:2:
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ftl_private.h:164:14: warning: redefinition of typedef 'BOOL' is a C11 feature [-Wtypedef-redefinition]
typedef bool BOOL;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/posix/threads.h:37:14: note: previous definition is here
typedef bool BOOL;
^
/tmp/obs/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:5:10: fatal error: 'jansson.h' file not found
#include <jansson.h>
^~~~~~~~~~~
2 warnings and 1 error generated.
make[2]: *** [plugins/obs-outputs/CMakeFiles/obs-outputs.dir/ftl-sdk/libftl/ingest.c.o] Error 1
make[1]: *** [plugins/obs-outputs/CMakeFiles/obs-outputs.dir/all] Error 2
make: *** [all] Error 2
[Fri Aug 27 10:41:54 CDT 2021] FATAL: Unable to build OBS; see above logs for more info. Try running this instead: REPACKAGE=true ./install.sh
➜ obs-installer-for-apple-silicon git:(main) ✗ REPACKAGE=true ./install.sh
Full build output: https://gist.github.com/sagz/8a6ef7e6d4969ae4e0ff9cfe83fa4487
Hello! I just did a fresh rebuild of OBS 27.0.1 and, unfortunately, wasn't able to replicate this issue. However, since I did merge the PR that fixes this, I'm going to close this issue. Feel free to re-open it if this continues to be a problem.
When running the installer I get:
Indeed,
/opt/homebrew/include/mbedtls
does not include anarc4.h
, including only the following: