ken123 发表于 2007-11-1 18:28:56

那位大侠知道linux下安装sysbench得问题

Making all in .
make: Entering directory `/var/test/sysbench-0.4.8/sysbench'
/bin/sh ../libtool --tag=CC --mode=link gcc -pthread -g -O2   -o sysbench -static   sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/usr/local/mysql//lib/mysql -lmysqlclient_r   -lrt -lm
gcc -pthread -g -O2 -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.otests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/usr/local/mysql//lib/mysql -lmysqlclient_r -lrt -lm
/usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld returned 1 exit status
make: *** Error 1
make: Leaving directory `/var/test/sysbench-0.4.8/sysbench'
make: *** Erro

chengmoys 发表于 2010-9-4 14:08:26

你可以安装autotest,上面集成有sysbench
页: [1]
查看完整版本: 那位大侠知道linux下安装sysbench得问题