[Asterisk-Users] Compile Error - MySql addon
Matthew Boehm
mboehm at cytelcom.com
Tue May 17 11:48:59 MST 2005
> cannot find -lz
> collect2: ld returned 1 exit status
> make: *** [cdr_addon_mysql.so] Error 1
What is amazing is that people are able to read directions for downloading
from CVS, but can't read the error message generated by the complier.
The compiler said that it cannot find -lz. (what is -lz you ask? google has
the answer to that.)
What is even more amazing is that you were able to compile mysql without -lz
because I believe -lz is a requirement of mysql.
-lz is your zlib library.
zlib should be in /usr/lib/
-Matthew
More information about the asterisk-users
mailing list