MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: How can i make a MySQL8 tar package like offcial tar package through source build?
Posted by: Bjørn Munch
Date: April 08, 2020 01:41AM

Oh so gcc 5.3 comes with its own newer libstdc++ version 6.0.21. When you replace this on the build machine you create a dependency on this newer version. Then it won't work on a computer with the standard version 6.0.19.

Did you try to skip point 8, not make softlinks to gcc 5.3? Try to instead use the full path in DCMAKE_CXX_COMPILER and DCMAKE_C_COMPILER. And set the /lib64/libstdc++.so.6 back to point to the original 6.0.19.

If that doesn't help, you may have to install gcc 5.3 on the other computer too. And instead of replacing /lib64/libstdc++.so.6, you can try to set the environment variable LD_LIBRARY_PATH to /usr/local/gcc-5.3/lib64, both when you build and when you run mysql.

The official 8.0.19 tarball is built using Red Hat's Developer Toolset 8 (gcc 8) which does *not* require a newer libstdc++.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How can i make a MySQL8 tar package like offcial tar package through source build?
180
April 08, 2020 01:41AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.