Charles Chamberlain | 12 Apr 2006 15:59

error

trying to run make command - as per the instructions. I'm installing Footprrints CRM software. My OS is Suse
Enterprise Server 9.0.

heres the error:

LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/local/footprints/footprints_perl/bin/perl myld cc 
-shared -L/usr/local/lib dbdimp.o mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so   -L/usr/lib/mysql
-lmysqlclient -lz -lcrypt -lnsl -lm
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lz
collect2: ld returned 1 exit status

An error occurred while linking the DBD::mysql driver. The error
message seems to indicate that you don't have a libz.a,
or a libz.so. This is typically resolved by:

1.) You may try to remove the -lz or -lgz flag from the libs list
    by using the --libs switch for "perl Makefile.PL".
2.) On Red Hat Linux install libz-devel
3.) On other systems, please contact the mailing list

     Msql-Mysql-modules <at> lists.mysql.com

For further hints, see INSTALL.html, section Linker flags.
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
Rudy Lippan | 12 Apr 2006 18:34

Re: error


On Wed, 12 Apr 2006, Charles Chamberlain wrote:

> An error occurred while linking the DBD::mysql driver. The error0
> message seems to indicate that you don't have a libz.a,
> or a libz.so. This is typically resolved by:

Install the libz development libraries.

-r

--

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules <at> m.gmane.org

Simon Rees | 12 Apr 2006 17:08
Picon

Re: error

Hi Charles

On Wednesday 12 April 2006 14:59, Charles Chamberlain wrote:
> trying to run make command - as per the instructions. I'm installing
> Footprrints CRM software. My OS is Suse Enterprise Server 9.0.
...
> 2.) On Red Hat Linux install libz-devel
> 3.) On other systems, please contact the mailing list

OpenSuSE calls this package zlib-devel - Suse enterprise probably uses the 
same name. You will need to have this installed.

hth, Simon

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simon Rees  |  tech-lists  <at> t zodiac2000 co uk  |
ORA-03113: end-of-file on communication channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules <at> m.gmane.org


Gmane