[Asterisk-Users] Error installing/compiling cdr_mysql addon

Sam Bingner sam at bingner.com
Sun Mar 28 19:40:12 MST 2004


You need to install the "mysql-devel" rpm if you use redhat

Sam

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Simon Brown
Sent: Sunday, March 28, 2004 2:13 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Error installing/compiling cdr_mysql addon


When I try to compile the cdr_mysql addon, I get the following error:

[root at PBX asterisk-addons]# make
cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o
-lmysqlclient
-lz   -L/usr/local/mysql/lib
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [cdr_addon_mysql.so] Error 1

I have MySQL installed and have tested it - it is working, I can create
databases etc.

TIA

Simon

-----
This mail was content checked for malicious code and viruses
by GFI MailSecurity.

_______________________________________________
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3047 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040328/ddb58d56/smime.bin


More information about the asterisk-users mailing list