Results 1 to 1 of 1
Mandriva and MySQL -lz error
Hi,
I'm trying to compile a simple myslq program in C the makefile I'm using is
Code:
CFG=/usr/bin/mysql_config
test: test.c
sh -c "gcc -o test ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-08-2009 #1
Mandriva and MySQL -lz
Mandriva and MySQL -lz error
Hi,
I'm trying to compile a simple myslq program in C the makefile I'm using is
and I'm getting an error /usr/bin/ld: cannot find -lz...does anyone knowCode:CFG=/usr/bin/mysql_config test: test.c sh -c "gcc -o test `$(CFG) --cflags` test.cpp `$(CFG) --libs`"
how to fix this...thanks Gerard4143
Note: I do have a file libz.so.1.2.3 and a link libz.so.1 in my lib folder


Reply With Quote
