[Asterisk-Users] Latest cvs * compile error anyone?

Kannaiyan Natesan nkans at lycos.co.uk
Fri Jan 23 14:33:03 MST 2004


If you are not users from mysql database then you can disable in the
makefile.

For this,

USE_MYSQL_FRIENDS=1

change it to

USE_MYSQL_FRIENDS=0

You won't get that error.

Alternatively you can install mysqlclient library to compile it without
errors.

Kannaiyan


----- Original Message -----
From: "SamW" <swc at svtinc.com>
To: <asterisk-users at lists.digium.com>
Sent: Friday, January 23, 2004 7:03 PM
Subject: [Asterisk-Users] Latest cvs * compile error anyone?


> I downloaded asterisk and was trying to compile fresh, It end up in
> error, Any help appreciated.
>
> cvs checkout asterisk
> cd asterisk
> make clean
> make
>
> END UP with following error,  (Previously I was able to compile without
> any errors. After a make clean stopped compiling.)
>
> gcc -shared -Xlinker -x -o chan_iax2.so chan_iax2.o iax2-parser.o
> -lmysqlclient -lz
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status
> make[1]: *** [chan_iax2.so] Error 1
>
>
> - SamW
>
>
> _______________________________________________
> 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
>
>




More information about the asterisk-users mailing list