[Asterisk-Users] Setting up MySQL CDR??
WipeOut .
wipeout at linuxmail.org
Mon Sep 22 06:11:31 MST 2003
> 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
More information about the asterisk-users
mailing list