[Asterisk-Dev] compile error - cdr_mysql.so

Jeremy McNamara jj at indie.org
Tue May 13 14:03:10 MST 2003


Looks like your missing libz.

I think the package is called zlib an zlib-dev.

Jeremy McNamara



Tomaz Izanc wrote:

> hi!
>
> if i compile complete asterisk tree "make install" give no cdr_mysql.so ,
> so I go to cdr\ and manualy compile cdr_mysql.so and get this error .
> what can be wrong ?
>
> thomas
>
>
> iudex:/usr/src/asterisk/asterisk/cdr# make
> Makefile:43: .depend: No such file or directory
> ../mkdep -fPIC  -I/usr/include/mysql   `ls *.c`
> cc -fPIC  -I/usr/include/mysql     -c -o cdr_csv.o cdr_csv.c
> cc -shared -Xlinker -x -o cdr_csv.so cdr_csv.o
> cc -fPIC  -I/usr/include/mysql     -c -o cdr_mysql.o cdr_mysql.c
> cc -shared -Xlinker -x -o cdr_mysql.so cdr_mysql.o -lmysqlclient 
> -lz     /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make: *** [cdr_mysql.so] Error 1
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev






More information about the asterisk-dev mailing list