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 

 

posted @ 2015-08-28 19:44  johnsonshu  阅读(936)  评论(0编辑  收藏  举报