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