fix issue on ImportError: libGeoIP.so.1

libGeoIP works well in Python web app while using eclipse embeded server, but error occurs when using apache as the web server.
The error message as below,
ImportError: libGeoIP.so.1: cannot open shared object file: No such file or directory

Fixed steps:

1. Make a symbolic link for "libGeoIP.so.1"
    e.g. ln -s /usr/local/lib/libGeoIP.so.1 /usr/lib/libGeoIP.so.1
2. run command in terminal.
    ldconfig
3. Restart appache

posted on 2012-10-25 11:41  jmbkeyes  阅读(552)  评论(0)    收藏  举报

导航