Skip to content
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

运行 msql-proxy 报 GLib version too old 错误 #127

Open
moyuanming opened this issue May 24, 2017 · 1 comment
Open

运行 msql-proxy 报 GLib version too old 错误 #127

moyuanming opened this issue May 24, 2017 · 1 comment

Comments

@moyuanming
Copy link

./mysql-proxy
** (process:6014): CRITICAL **: chassis-frontend.c:79(chassis_frontend_init_glib)GLib version too old (micro mismatch), got: lib=2.40.2, headers=2.42.0

glib-2.42 是按照用户手册中的安装方式安装的

试过 修改 bootstrap.sh 为
#!/bin/sh base=$(cd "$(dirname "$0")"; pwd) cd $base GLIB_CFLAGS="-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include" \ GLIB_LIBS="-L/usr/local/lib -lglib-2.0" \ GMODULE_CFLAGS="-pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include" \ GMODULE_LIBS="-L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lrt" \ GTHREAD_CFLAGS="-pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include" \ GTHREAD_LIBS="-L/usr/local/lib -lgthread-2.0 -pthread -lrt" \ ./configure --prefix=/usr/local/mysql-proxy CFLAGS="-g -O0"

也不行。

@lwtdmtc
Copy link

lwtdmtc commented Dec 5, 2018

vim /etc/ld.so.conf
ldconfig
改变系统使用的glibc库的路径

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants