473,396 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 2541
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: frankgerlach | last post by:
I am experiencing problems when installing PHP5/MYSQL. I did ./configure --with-mysql=/usr/local/mysql --disable-libxml --with-zlib-dir=/home/frank/zlib-1.2.2 make make install The build...
1
by: Kerry Shetline | last post by:
I've successfully installed MySQL and the Perl DBI module, but when I try to install DBD::mysql, it keeps failing like this: -------------------- (from the CPAN shell) --------------------- .......
0
by: Decio Alexandre | last post by:
------=_NextPart_000_003E_01C34D83.A02DB370 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi!! I had once installed PHPTriad, a package which...
0
by: Shekhar Mahadevan | last post by:
When I try installing, I get this: root# rpm -i MySQL-Max-4.1.0-0.i386.rpm warning: MySQL-Max-4.1.0-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 error: Failed dependencies:...
0
by: Nick | last post by:
Just in case anyone has the same problem. After a few hours, I found the solution for installing MySQL on Mac OS X. As well as a ton of other people, I was getting the error... Can't connect to...
1
by: Smita | last post by:
hello ! > > > I am trying to intstall Mysql binary version with installor in Windows > XP machine . But it is not working . i have installed in the default > path ,in windows service componenet...
0
by: Smita | last post by:
hello ! > > > I am trying to intstall Mysql binary version with installor in Windows > XP machine . But it is not working . i have installed in the default > path ,in windows service componenet...
1
by: manish deshpande | last post by:
Hi, When i'm installing MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm by the following command: rpm -i MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm the following error is being shown: ...
3
by: menzies | last post by:
Hi, I"m new to this forum, but I have been trying all day to install DBD::mysql onto my Intel MacBook. I've read lots of forums pages and none have gotten me to a successful 'make test' or a...
2
by: sbettadpur | last post by:
Hiiii > > I have installed mysql , Active perl 5.10 successfully but > Template-GD: ppm install Template-GD > PerlMagick: ppm install PerlMagick > SOAP-Lite: ppm install SOAP-Lite > ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.