I am getting problems with: python setup.py build when trying to install MySQLdb for python.
Here is an extract of the errors printed out:-
<unknown> 0xd8 /usr/local/mysql/lib/libmysqlclient_r.a(my_getwd.o) <unknown> 0xe0 /usr/local/mysql/lib/libmysqlclient_r.a(my_getwd.o) fdopen 0x260 /usr/local/mysql/lib/libmysqlclient_r.a(my_fopen.o) fclose 0x178 /usr/local/mysql/lib/libmysqlclient_r.a(my_fopen.o) memchr 0xc /usr/local/mysql/lib/libmysqlclient_r.a(strnlen.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1
I am installing on Solaris 2.8 with Python 2.2.2, MySQL 4.0.12, and MySQLdb 0.9.2
I would greatly appreciate any help with this as I am totally stumped!
Log in to post a comment.
I am getting problems with: python setup.py build when trying to install MySQLdb for python.
Here is an extract of the errors printed out:-
<unknown> 0xd8 /usr/local/mysql/lib/libmysqlclient_r.a(my_getwd.o)
<unknown> 0xe0 /usr/local/mysql/lib/libmysqlclient_r.a(my_getwd.o)
fdopen 0x260 /usr/local/mysql/lib/libmysqlclient_r.a(my_fopen.o)
fclose 0x178 /usr/local/mysql/lib/libmysqlclient_r.a(my_fopen.o)
memchr 0xc /usr/local/mysql/lib/libmysqlclient_r.a(strnlen.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
I am installing on Solaris 2.8 with Python 2.2.2, MySQL 4.0.12, and MySQLdb 0.9.2
I would greatly appreciate any help with this as I am totally stumped!