[Asterisk-Users] Trouble compiling asterisk-addons MySQL

Oleg A. Arkhangelsky sysoleg at progtech.ru
Tue Jul 27 10:07:46 MST 2004


Hello James,

> cannot find -lmysqlclient
> collect2: ld returned 1 exit status
> make: *** [cdr_addon_mysql.so] Error 1

Do you have libmysqlclient.so* files on your system?
If so, try to make an symbolic link:

ln -s libmysqlclient.so<you_version> libmysqlclient.so

Don't forget to run ldconfig after that.

--
wbr, Oleg





More information about the asterisk-users mailing list