getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed

为arm 编译 mysql , 执行的时候出现了这个问题。

好像是个bug,

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626379

重新编译,把 --with-client-ldflags 选项去掉就可以了

./configure --prefix=$ARMROOTFS/usr/mysql/ 
--with-charset=utf8 --with-extra-charsets=all --without-debug --without-docs --without-man --without-bench --with-client-ldflags=-all-static --host=arm-linux --cache-file=$ARCH-linux.cache 
原文地址:https://www.cnblogs.com/johnsonshu/p/4767694.html