rpm-proftpd+mysql 安装报异常求助
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':
pthread_getspecific'
/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 to
/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'
my_thread_global_reinit':
/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In function
/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'
my_thread_global_init':
/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In function
/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'
pthread_mutexattr_settype'
/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 to
/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'
pthread_mutexattr_settype'
/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 to
/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'
pthread_create'
/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 to
/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'
my_thread_global_end':
/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In function
/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'
pthread_mutexattr_destroy'
/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 to
/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'
my_thread_end':
/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In function
/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'
pthread_setspecific'
/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 to
/usr/lib64/mysql//libmysqlclient.a(my_thr_init.c.o): In function _my_thread_var':
pthread_getspecific'
/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 to
/usr/lib64/mysql//libmysqlclient.a(thr_mutex.c.o): In function my_pthread_fastmutex_lock':
pthread_mutex_trylock'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/thr_mutex.c:481: undefined reference to
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_charset_name':
pthread_once'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:533: undefined reference to
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_charset_number':
pthread_once'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:522: undefined reference to
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_charset_by_csname':
pthread_once'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:644: undefined reference to
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_charset':
pthread_once'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:597: undefined reference to
/usr/lib64/mysql//libmysqlclient.a(charset.c.o): In function get_collation_number':
pthread_once'
/pb2/build/sb_0-16513225-1442594820.66/rpm/BUILD/mysql-5.5.46/mysql-5.5.46/mysys/charset.c:484: undefined reference to
/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