473,624 Members | 2,394 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 2553
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
1883
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
3404
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 -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o...
0
1679
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
2132
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
1306
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 1777 /tmp
1
1597
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
1108
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
3209
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 MySQL-server-standard-5.0.24a-0.rhel3 conflicts with file from package mysql-3.23.58-1 file...
3
8813
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. OS: Mac OS X 10.4.10 MySQL: v5.0.41 for Mac OSX-i686 DBI: v1.58 (installed fine using CPAN)...
2
5216
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
8240
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8680
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8482
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6111
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4082
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2610
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
1
1791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.