linux(CentOS)服務器里,從已經(jīng)安裝mysql的機子上把usr/local/mysql/bin、usr/local/mysql/include、usr/local/mysql/lib目錄拷過來然后執(zhí)行 # ./configure –prefix=usr/local/sphinx –with-mysql=usr/local/mysql# make 在/etc/ld.so.conf.d目錄下新建一個文件mysql.conf,內容為:usr/local/mysql/lib/mysql執(zhí)行