I'm trying to run a cgi-bin site on localhost. And I get the following error:
<type 'exceptions.ImportError'>: /usr/local/lib/python2.7/dist-packages/psycopg2/_psycopg.so: undefined symbol: lo_truncate64
My current PostgreSQL version is 9.4.5.
How can I fix the issue?