일상 기록 창고

스핑크스 검색엔진 마리아 디비 searchd 실행 시 오류 처리 본문

프로그래밍/PHP

스핑크스 검색엔진 마리아 디비 searchd 실행 시 오류 처리

Crazy_Kong 2018. 8. 22. 11:14


1. 파일을 먼저 찾기..


  1. root@localhost:~/sphinx-3.0.3/bin# find / -name 'libmysqlclient*'
  2. /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20
  3. /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20.3.9 <--- 요거를 사용
  4. /usr/lib/x86_64-linux-gnu/libmysqlclient
  5. /usr/share/doc/libmysqlclient20


2. 심볼릭 링크 생성

 ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20.3.9 /usr/lib/libmysqlclient.so


3. 실행



  1. root@localhost:~/sphinx-3.0.3/bin# ./searchd -c oc.conf
  2. Sphinx 3.0.3 (commit facc3fb)
  3. Copyright (c) 2001-2018, Andrew Aksyonoff
  4. Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
  5. using config file 'oc.conf'...
  6. listening on all interfaces, port=9312
  7. listening on all interfaces, port=9306
  8. precaching index 'oc'
  9. precaching index 'testrt'
  10. precached 2 indexes in 0.001 sec