-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cannot build MySQL after patching #1
Comments
Hi, For the process of building MySQL with wolfSSL these would be the steps:
Regards, |
Hi CaptainYukinoshitaHachiman, I updated the README.md to try to make the steps more clearer in this PR (#2). Let me know if there is any build difficulties after the updated steps. Regards, |
Now it works for me, thanks a lot! |
Well, though now CMake succeeds, unfortunately it seems there's something wrong when building with make.
|
What version of gcc and g++ is being used? If it's newer versions such as 7.0 +, there may be a case where an older version needs to be used. If I remember correctly, some of the MySQL 8.0.0 code outside of wolfSSL changes, does not do well with newer compilers. When running cmake use -DCMAKE_CXX_COMPILER and -DCMAKE_CC_COMPILER to set the compilers. An example being
|
I downloaded MySQL Source Code and ran
sudo patch -p1 < wolfssl-mysql-8.0.0.patch -t
Then I copied wolfSSL to
mysql-8.0.0/extra/yassl
by running this command:sudo cp ~/wolfssl-3.15.3/* extra/yassl/ -r
However when I try to run Make, I got this:
Could you please help me build MySQL with WolfSSL?
The text was updated successfully, but these errors were encountered: