Please help me with linking libraries on Solaris 10 sparc

Ralf Schönian ralf at schoenian-online.de
Thu May 1 10:17:12 EDT 2008


idev schrieb:
> 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.

Hi,

maybe a stupid question - but why don't you want to use the "official" 
package? You can download it here: 
http://sunfreeware.mirrors.tds.net/indexsparc10.html

Regards,
Ralf



More information about the Python-list mailing list