468,505 Members | 1,714 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

Installing MySQL-Python

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

Jul 19 '05 #1
2 2365
Cathy Hui wrote:
Do u know why do i get the following message error: command 'gcc' failed with exit status 1

yes:
error: command 'gcc' failed with exit status 1

means: there's no compiler gcc ...

kai

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

Jul 19 '05 #2
but the gcc was installed on this system tho:

gcc -v
Reading specs from
/export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.2

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by frankgerlach | last post: by
1 post views Thread by Kerry Shetline | last post: by
reply views Thread by Decio Alexandre | last post: by
reply views Thread by Shekhar Mahadevan | last post: by
reply views Thread by NPC403 | last post: by
3 posts views Thread by gieforce | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.