473,545 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2549
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
1878
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 process did not report any errors.
1
3402
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) --------------------- .... chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.bundle LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3 cc ...
0
1674
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 installs=20 php, apache and mysql on windows machines, and since I=20 wanted to update my mysql and php version I uninstalled=20
0
2125
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: libcrypto.so.0.9.6 is needed by MySQL-Max-4.1.0-0 libssl.so.0.9.6 is needed by MySQL-Max-4.1.0-0 RH9 has openssl-0.9.7a installed.
0
1303
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 local MySQL server through socket '/tmp/mysql.sock' Its a problem with permissions. Try this from the terminal, it worked for me... sudo chmod...
1
1587
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 its showing server is running,since > it is mysqld-nt so name-piped servr is also running. > > But still client is able to connect to server. >
0
1106
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 its showing server is running,since > it is mysqld-nt so name-piped servr is also running. > > But still client is able to connect to server. >
1
3196
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: warning: MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 file /etc/my.cnf from install of...
3
8793
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 successful 'sudo make install.' Before every attempt I even do a sudo make distclean to make sure I haven't gotten things mucked up from a prior attempt. ...
2
5205
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 > mod_perl: ppm install mod_perl > the above four modules are not installing , here is the screen shot , > plz help me to proceed >
0
7465
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7398
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7656
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7805
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7416
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7752
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5325
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3449
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1878
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.