[asterisk-dev] MySQL Apps compilation problem in asterisk 1.4

Atis Lezdins atis at iq-labs.net
Fri May 30 15:50:09 CDT 2008

On Fri, May 30, 2008 at 11:14 PM, Gustavo A Gonzalez
<ggonzalez at despegar.com> wrote:
> Hello im not sure if that is the correct list, but, I am working on an
> application that connect to MYSQL to insert users data, I copy my
> application on /usr/src/asterisk1.4/apps/ and run make and make install,
> after that I saw that my app when looking for MYSQL functions like
> mysql_init, asterisk show me an error like undefined symbol: mysql_init.
> This is not because I don't have mysql installed but because when I am doing
> make, asterisk don't link my app with mysql runtime library. Is there a
> howto to develop and compile an external module with NN libraries in
> asterisk 1.4. How I can get my application working? Thanks!!!

Please look into app_addon_sql_mysql within asterisk-addons for sample usage.


Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

More information about the asterisk-dev mailing list