[Zope-DB] Installing MySQLdb

Julián Muñoz jmunoz@telefonica.net
Sun, 5 May 2002 15:37:53 +0000 (GMT)


This is because the compiler gcc doesn't find the libz library. Install
it?
:-)


On Sat, 4 May 2002, Mahdi Hajimoradi wrote:

> Hi
> I want to install MySQLdb.I've recieed the folloing error after install t=
he driver:
> ...creating build/temp.linux-i586-1.5
> gcc -g -O2 -fPIC -I/usr/include/mysql -I/usr/include/python1.5 -c _mysql.=
c -o build/temp.linux-i586-1.5/_mysql.o
> gcc -shared build/temp.linux-i586-1.5/_mysql.o -L/usr/lib/mysql -lmysqlcl=
ient -lz -o build/lib.linux-i586-1.5/_mysql.so
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
> *********
> This in my Configuration:
> Python 1.5.2
> mysql 3.23.41(I'ev install it via rpm)
> RedHat 7.2
> MySQL-python-0.9.1
> ZMySQLDA 2.0.8
>
> Could you help to do this?
>
> TNX in Adbvance
> --M. Hajimoradi
>
>
>
>
>

-- 

      __o
    _ \<_
   (_)/(_)

Saludos de Julián
EA4ACL
-.-

Foro Wireless Madrid
http://opennetworks.rg3.net