Percona-Lab / tpcc-mysql

481 stars 188 forks source link

tpcc-mysql fails to compile against libmysqlclient.so.20.3.8 #13

Open winmutt opened 6 years ago

winmutt commented 6 years ago

When compiling against 5.7.21 we got the following error:

cc load.o support.o `mysql_config --libs_r` -lrt -o ../tpcc_load
/usr/lib64/mysql/libmysqlclient.so: undefined reference to `X509_check_ip@libcrypto.so.10'
/usr/lib64/mysql/libmysqlclient.so: undefined reference to `X509_check_host@libcrypto.so.10'
collect2: error: ld returned 1 exit status
make: *** [../tpcc_load] Error 1

This was corrected by downgrading libmysqlclient to libmysqlclient.so.18

vadimtk commented 6 years ago

tpcc-mysql probably will not have much fixes. please try https://github.com/Percona-Lab/sysbench-tpcc