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

Sam

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Brown
Sent: Sunday, March 28, 2004 2:13 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Error installing/compiling cdr_mysql addon


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

[EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to