Apache 与sphinx的编译安装其他小问题

1、httd.conf配置文件没有设置servername
AH00557: httpd: apr_sockaddr_info_get() failed for wwwSocial02
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message


2、php编译安装:error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

  在/etc/ld.so.conf中加一行/usr/local/lib,
  然后运行/sbin/ldconfig,文件解决,没有报错了~~

3、sphinx启动时,报错
/usr/local/webserver/sphinx/bin/indexer: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

解决办法如下:

  echo "/usr/local/webserver/mysql/lib/" >> /etc/ld.so.conf

  ldconfig

posted on 2014-03-23 22:04  mancoj  阅读(183)  评论(0)    收藏  举报

导航