Unix administration - Installing MySQL-Python

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > June 2005 > Installing MySQL-Python





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Installing MySQL-Python
kaka.hui@gmail.com

2005-06-21, 8:50 pm

Do u know why do i get the following message when trying to build the
MySql-Python (1.2.0) on my Solaris 8 system? (with mysql 4.0.21 and
python 2.4). thanks!

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


see below for the log
========================================
=============


# Python setup.py build

unknown> 0x5c8
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0x840
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0x84c
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0x9b4
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0x9bc
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0x9f8
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0xa04
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0xa98
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0xaac
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0xad0
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0xae0
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.o)
<unknown> 0xb0c
/usr/local/mysql/lib/mysql/libmysqlclient_r.a(default.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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com