List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:November 16 2001 2:49pm
Subject:Re: Problem with DBD module
View as plain text  
Install the zlib RPM.

Abimael Ailton Machado wrote:

> Which drivers do you want to install?
> 
>     1)  MySQL only
>     2)  mSQL only (either of mSQL 1 or mSQL 2)
>     3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
> 
>     4)  mSQL 1 and mSQL 2
>     5)  MySQL, mSQL 1 and mSQL 2
> 
> Enter the appropriate number:  [3] 1
> 
> 
> Do you want to install the MysqlPerl emulation? You might keep your old
> Mysql module (to be distinguished from DBD::mysql!) if you are concerned
> about compatibility to existing applications! [n] 
> Note (probably harmless): No library found for -lgz     <--ERROR THAI I
> FOUND
> Using DBI 1.18 installed
> in/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> Writing Makefile for DBD::mysql
> Writing Makefile for Msql-Mysql-modules
> 
> 
> -----------------------------------------------------------------------------
> 
> I don't konw which is this libray.
> If i try use make in the 3 last line I have the message of Error 1 and
> Error 2
> 
> 
> -------------------------------------------------------------------------------
> make[1]: Entrando no diretório
> `/usr/local/Msql-Mysql-modules-1.2217/mysql'
> cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> -I/usr/local/mysql/include/mysql -I../dbd
> -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> -I/usr/local/lib/perl5/5.6.1/i686-linux -fno-strict-aliasing
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"2.0417\"
> -DXS_VERSION=\"2.0417\" -fpic
> -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE -DDBD_MYSQL dbdimp.c
> dbdimp.c: In function `MysqlReconnect':
> dbdimp.c:2157: warning: assignment from incompatible pointer type
> cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> -I/usr/local/mysql/include/mysql -I../dbd
> -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
> -I/usr/local/lib/perl5/5.6.1/i686-linux -fno-strict-aliasing
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"2.0417\"
> -DXS_VERSION=\"2.0417\" -fpic
> -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE -DDBD_MYSQL mysql.c
> Running Mkbootstrap for DBD::mysql ()
> chmod 644 mysql.bs
> rm -f ../blib/arch/auto/DBD/mysql/mysql.so
>
> LD_RUN_PATH="/usr/local/mysql/lib/mysql:/lib:/usr/lib/gcc-lib/i586-mandrake-linux/2.96"
> cc  -shared -L/usr/local/lib dbdimp.o mysql.o
> -L/usr/local/mysql/lib/mysql  -o ../blib/arch/auto/DBD/mysql/mysql.so  
> -L/usr/local/mysql/lib/mysql -lmysqlclient -lm -lz
> -L/usr/lib/gcc-lib/i586-mandrake-linux/2.96 -lgcc  
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make[1]: ** [../blib/arch/auto/DBD/mysql/mysql.so] Error 1   <--ERROR
> THAI I FOUND
> make[1]: Saindo do diretório
> `/usr/local/Msql-Mysql-modules-1.2217/mysql'
> make: ** [subdirs] Error 2                                  <--ERROR
> THAI I FOUND
> [root@localhost Msql-Mysql-modules-1.2217]# 
>
> ---------------------------------------------------------------------------------------------
> Before install this module I installed the  DBI-1.18 and
> Data-ShowTable-3.3
> I'm using a perl 5.6.1 in Mandrake 8.0, mysql-3.23.44
> You someone have a ideia, please send mail-me.
> Thanks
> 
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html"
> before
> posting. To request this thread, e-mail
> msql-mysql-modules-thread1523@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail msql-mysql-modules-unsubscribe@stripped instead.
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread91481@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> 
> 

Thread
Problem with DBD moduleAbimael Ailton Machado16 Nov
  • Re: Problem with DBD moduleGerald Clark16 Nov