Please help me with linking libraries on Solaris 10 sparc

idev vadim.pestovnikov at gmail.com
Thu May 1 10:07:28 EDT 2008


Hi all,
Please help me with my stuff.

I downloaded python 2.5.1 package from http://blastwave.org it was
compiled using Sun Studio 11 for Solaris 8 sparc.

My system is Solaris 10 sparc and I compiled using SunStudio 11
psycopg2 python binding for PostgreSQL 8.3.1.

Compilation was OK, but when I am trying to import psycopg2 I am
getting this error:

$ python
Python 2.5.1 (r251:54863, Nov  3 2007, 02:54:52) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import psycopg2
Traceback (most recent call last):
  File "<stdin>", 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

Any suggestions or help will be appreciated.



More information about the Python-list mailing list