Home > Database > Mysql Tutorial > rpm-proftpd+mysql 安装报异常求助

rpm-proftpd+mysql 安装报异常求助

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:33:11
Original
1052 people have browsed it

proftpdrpmmysql异常

mysql 通过rpm安装
MySQL-client-5.5.37-1.linux2.6.x86_64.rpm
MySQL-devel-5.5.46-1.linux2.6.x86_64.rpm
MySQL-server-5.5.37-1.linux2.6.x86_64.rpm

安装proftpd时在make时包异常
配置为./configure --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_sql --with-includes=/usr/include/mysql --with-libraries=/usr/lib64/mysql

make

异常为
/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In function my_thread_init':<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:324: undefined reference topthread_getspecific'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:342: undefined reference to pthread_setspecific'<br>/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In functionmy_thread_global_reinit':
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:115: undefined reference to pthread_getspecific'<br>/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In functionmy_thread_global_init':
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:154: undefined reference to pthread_mutexattr_init'<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:155: undefined reference topthread_mutexattr_settype'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:163: undefined reference to pthread_mutexattr_init'<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:164: undefined reference topthread_mutexattr_settype'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:168: undefined reference to pthread_key_create'<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:205: undefined reference topthread_create'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:207: undefined reference to pthread_join'<br>/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In functionmy_thread_global_end':
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:261: undefined reference to pthread_key_delete'<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:263: undefined reference topthread_mutexattr_destroy'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:266: undefined reference to pthread_mutexattr_destroy'<br>/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In functionmy_thread_end':
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:380: undefined reference to pthread_getspecific'<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:427: undefined reference topthread_setspecific'<br>/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In function _my_thread_var':<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/my_thr_init.c:432: undefined reference topthread_getspecific'
/usr/lib64/mysql//libmysqlclient.a(thr_mutex.c.o): In function my_pthread_fastmutex_lock':<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/thr_mutex.c:481: undefined reference topthread_mutex_trylock'
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_charset_name':<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:533: undefined reference topthread_once'
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_charset_number':<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:522: undefined reference topthread_once'
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_charset_by_csname':<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:644: undefined reference topthread_once'
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_charset':<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:597: undefined reference topthread_once'
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_collation_number':<br>/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:484: undefined reference topthread_once'
/usr/lib64/mysql//libmysqlclient.a(charset.c.o):/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:619: more undefined references to `pthread_once' follow
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template