Bug #114255 Install Community Edition 8.0.34/35glibc2.28-arm Version error
Submitted: 7 Mar 2024 7:29 Modified: 18 Jun 2024 1:03
Reporter: Tianxiang Cui Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:8.0.34/35 OS:Linux
Assigned to: CPU Architecture:ARM (el8)

[7 Mar 2024 7:29] Tianxiang Cui
Description:
背景:
安装mysql社区版8.0.34/35glibc2.28-arm版本时报错:ELF load command alignment not page-aligned

解决:
重新编译openssl3.0后替换mysql包中的libssl.so.3 libcrypto.so.3后安装正常

How to repeat:
官网直接下载社区版安装包:8.0.34或8.0.35 glibc2.28-arm二进制安装包安装
[12 Mar 2024 12:13] MySQL Verification Team
Hello!

Thank you for the bug report.

Regards,
Ashwini Patil
[13 Mar 2024 11:50] Terje Røsten
Posted by developer:
 
Linux aarch64 platform seems to be two flavours: 4k and 64k page size.

4k systems can load binaries with 4k and 64k page size, while 64k systems can load 64k binaries only.

Hence, hard code argument for patchelf to --page-size=65536 to produce most portable binary.
[18 Jun 2024 1:03] Jon Stephens
Documented fix as follows in the MySQL 8.0.38, 8.4.1, and 9.0.0 changelogs:

    Linux aarch64 platform binaries are now built using patchelf
    --page-size=65536 for compatibility with systems using either 4k
    or 64k for the page size.

Closed.