-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't build with mbedtls 3.x #125
Comments
I successfully tried mbedtls-2.16.12 and will try with 3.2.1 later today. |
mbedtls 3.0.0 made some fields private. We need to find a workaround. |
I've managed to build it by downgrading to sudo ln -s /opt/homebrew/opt/mbedtls@2/include/mbedtls /usr/local/include/
sudo ln -s /opt/homebrew/opt/mbedtls@2/lib/*.* /usr/local/lib/ |
homebrew is kind of special. I think |
FYI, this will help: Mbed-TLS/mbedtls#6282 |
|
Hi @neheb. KadNode does not support mbedtls 3.x yet. If OpenWrt wants to update, then I suggest to remove the KadeNode package for now. |
mbedtls 3.6 is in master. |
Hi, apologies if this is documented somewhere, I tried to look for macOS installation instructions with no luck.
I downloaded the v2.3.0 version of the code and tried to use the
macos/build.sh
, however I got this message:However I did install mbedtls with brew, in fact all I needed to do in order to fix this specific error was:
sudo ln -s /opt/homebrew/include /usr/local/include
Suggesting that the script doesn't take into account brew installed dependencies (or that my brew env is somehow very broken, but i don't think, it's relatively clean and new).
Now I'm getting another compilation error related to
mbedtls
:It seems that the source is based on another version of the library, which is not indicated anywhere in the docs unless I've missed something.
macOS v12.6 (Monterey) running on M1
XCode tools installed
brew installed
mbedtls v3.2.1 installed via brew
How do I build this thing on macOS? :)
Thanks
The text was updated successfully, but these errors were encountered: