- 论坛徽章:
- 0
|
- configure:4694: cc -o conftest -g -O2 -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -lmysqlclient -lprobes_mysql -lm -lrt -ldl conftest.c -lmysqlclient >&5
- /usr/bin/ld: cannot find -lprobes_mysql
- collect2: ld returned 1 exit status
- configure:4701: $? = 1
- configure: failed program was:
- | /* confdefs.h. */
- | #define PACKAGE_NAME ""
- | #define PACKAGE_TARNAME ""
- | #define PACKAGE_VERSION ""
- | #define PACKAGE_STRING ""
- | #define PACKAGE_BUGREPORT ""
- | /* end confdefs.h. */
- |
- | /* Override any GCC internal prototype to avoid an error.
- | Use char because int might match the return type of a GCC
- | builtin and then its argument prototype would still apply. */
- | #ifdef __cplusplus
- | extern "C"
- | #endif
- | char mysql_set_server_option ();
- | int
- | main ()
- | {
- | return mysql_set_server_option ();
- | ;
- | return 0;
- | }
- configure:4724: result: no
- configure:5059: error: wrong mysql library version or lib not found. Check config.log for more information.
复制代码 怎么破,用的是percona-server 版的mysql 5.5
没有找到lprobes_mysql
#/usr/local/php/bin/phpize
#./configure --with-php-config=/usr/local/php/bin/php-config --with-mysqli=/usr/local/mysql/bin/mysql_config
|
|