[Asterisk-Users] Compile Error - MySql addon

Steve Beaumont steveb at asbc.demon.co.uk
Tue May 17 10:19:59 MST 2005


When compiling asterisk-addons I get the following error. Anyone got any 
idea's ?, any help would be appreciated.

make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3'
cc -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql     -c -o 
cdr_addon_mysql.o cdr_addon_mysql.c
cc -shared -Xlinker -x -o cdr_addon_mysql.so 
cdr_addon_mysql.o -lmysqlclient -lz  -L/usr/lib/mysql
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: 
cannot find -lz
collect2: ld returned 1 exit status
make: *** [cdr_addon_mysql.so] Error 1


Best Regards
Steve Beaumont 




More information about the asterisk-users mailing list