At 5:03 PM -0800 12/28/00, Scott Baker wrote:
>I've been pulling my hair out forever. ALL I want to do is be able
>to run a perl script that has the MySQL DBI stuff in it. I've got
>the DBI installed and functioning, but I haven't been able to get
>the MySQL perl DBD to compile to save my life. I get this error on
>make
>
>-----------------------------------
>
>LD_RUN_PATH="/usr/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/i386-redhat-linux
>/egcs-2.91.66" cc -o ../blib/arch/auto/DBD/mysql/mysql.s
>o -shared -L/usr/local/lib dbdimp.o mysql.o -L/usr/lib/mysql
>-L/usr/lib/mysql -lmysqlclient -lm -lz -L/usr/lib/gcc-lib/i386-redh
>at-linux/egcs-2.91.66 -lgcc
>
>/usr/bin/ld: cannot find -lz
Do you have libz.a on your system somewhere? On my RedHat system, it's
in /usr/lib. If you don't have it, do you have libgz.a? If so, change
-lz to -lgz and see if that does it.
>
>-----------------------------------
>
>Can anyone shed any light on this?
>
>-------------------------------------
>Scott Baker - Webster Internet - Network Technician
>503.266.8253 - bakers@stripped
>
>"Never let your persistence and passion turn into stubbornness and
>ignorance." - Anthony J. D'Angelo
--
Paul DuBois, paul@stripped