All packages were from http://blastwave.org and were compiled using SUN Studio 
11.
I recompiled PostgreSQL and psycopg2 using SUN Studio 11 and there were not 
errors.

But I have got another problem:

> $ python -c "import psycopg2"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/csw/lib/python/site-packages/psycopg2/__init__.py", line 60, in 
<module>
    from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: ld.so.1: python: fatal: relocation error: file 
/opt/csw/lib/python/site-packages/psycopg2/_psycopg.so: symbol round: 
referenced symbol not found

I have LD_LIBRARY_PATH=:/opt/pgsql/lib:/opt/csw/lib variable in my .profile

Any ideas how to fix it

Reply via email to