[Asterisk-Users] Compile Error - MySql addon
Steve Beaumont
steveb at asbc.demon.co.uk
Tue May 17 14:33:01 MST 2005
----- Original Message -----
From: "Matthew Boehm" <mboehm at cytelcom.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Tuesday, May 17, 2005 7:48 PM
Subject: Re: [Asterisk-Users] Compile Error - MySql addon
>> 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
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
Mathew
Thanks for the pointer. Eventually found out which library was missing.
zlib-devel. zlib itself was there.
All I can say is that you seem to be easily amazed. :-)
All the best
Steve B
More information about the asterisk-users
mailing list