Installing MySQL-Python
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Installing MySQL-Python




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Installing MySQL-Python  
kaka.hui@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-22-05 01:50 AM

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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:55 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register