Actually, its MUCH easier to use the unixODBC and cdr_odbc.so modules. That way if you ever change you database to something other than MySQL you wont have to make any major changes to Asterisk. Also, since the ODBC stuff is in the main code instead of the "addons" you can generally expect it to be better maintained.
---------------------------------------- Michael Shuler, C.E.O. BitWise Systems, Inc. 1301 W. Pioneer Parkway Peoria, IL 61615 Office: (217) 585-0357 Cell: (309) 657-6365 Fax: (309) 213-3500 E-Mail: [EMAIL PROTECTED] Customer Service: (877) 976-0711 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Simon Brown > Sent: Sunday, March 28, 2004 6: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 > _______________________________________________ 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
