Error with Perl DBD::mysql
Hello all
Im starting development with perl on a linux suse 9.1 now, im use to windows. I have perl installed and it works fine, i have installed the DBI fine but now need to install the DBD for mysql so i can talk to a mysql database. When i try to compile it i.e perl Makefile.PL - it works fine but when i make - i recieve the error 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@lists.mysql.com For further hints, see INSTALL.html, section Linker flags. make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1 Any ideas what i need to do or install????? Can anyone help this newbie......Thanks in advance |
just as the error says, you need to install libz and libz-devel for rpm based distros
|
Thanks acid but where do i get them from?
|
your distro cds, rpm.pbone.net or a millino other places via google.
|
All times are GMT -5. The time now is 01:11 AM. |