[Asterisk-Users] Setting up MySQL CDR??

andrewg at felinemenace.org andrewg at felinemenace.org
Mon Sep 22 06:25:41 MST 2003


The zlib compression library. zlib-devel or so and zlib would probably be the
packages you are looking for.

On Mon, Sep 22, 2003 at 01:11:31PM +0000, WipeOut . wrote:
> > Hi,
> > 
> > I am running Redhat, I loaded the mysql and mysql-devel RPM's and then recompiled *..
> > 
> > I thought it would be that simple but it looks like I have missed something becasue it doesn't look like the module has been complied..
> > 
> > What did I leave out?
> 
> Ok been doing some testing and I get the following when trying to build the cdr modules..
> 
> [root at dev02 cdr]# make
> ../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  -L/usr/lib/mysql
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make: *** [cdr_mysql.so] Error 1
> rm cdr_csv.o
> 
> What is -lz ?? Is it looking for an application called z ??
> 
> Later..
> -- 
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr
> 
> Powered by Outblaze
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list