[Zope] Installing MySQL-python-0.9.1 on Solaris 2.6 problem

Joachim Schmitz js@aixtraware.de
Wed, 27 Feb 2002 15:33:09 +0100


Hi,
I am trying to install MySQL-python-0.9.1 on Solaris 2.6 under=20
Zope-2.5.1beta.

I modified the setup.py to fit my installation.

when doing:

python setup.py build

the _mysl.o is compiled, but the linking fails with

gcc -shared build/temp.solaris-2.6-sun4u-2.1/_mysql.o -L/u/mysql/lib=20
-R/usr/local/lib:/usr/ccs/lib:/usr/openwin/lib:/usr/dt/lib -lmysqlclient=20
-lresolv -ldl -lz -lc -o build/lib.solaris-2.6-sun4u-2.1/_mysql.so

Text relocation remains                         referenced
    against symbol                  offset      in file
ctype_latin1                        0x4bc=20
/u/mysql/lib/libmysqlclient.a(d$
ctype_latin1                        0x684=20
/u/mysql/lib/libmysqlclient.a(d$
.....

a lot of lines like this and finally


ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1





Mit freundlichen Gr=FC=DFen                              Joachim Schmitz
--------------------------------------------------------------------
AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
H=FCsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163
--------------------------------------------------------------------
Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1  1EDC 725B 3317 A8D7 C3A6
Keyserver: http://germany.keyserver.net/en/