[Asterisk-Dev] SIP/MySQL friends patch missing -L/usr/lib/mysql fix

Adam Hart adam at teragen.com.au
Thu Jan 22 20:22:46 MST 2004


I assume you mean IAX, not SIP? yea, I had the same problem


> Hi all,
> 
> Seems -L/usr/lib/mysql is missing in the SIP/MySQL friends patch.
> 
> Regards,
> Patrick
> 
> 
> diff -uNr asterisk.org/channels/Makefile asterisk/channels/Makefile
> --- asterisk.org/channels/Makefile 2004-01-23 03:47:49.000000000 +0100
> +++ asterisk/channels/Makefile 2004-01-23 03:50:57.000000000 +0100
> @@ -106,7 +106,7 @@
>  
>  chan_iax2.so: chan_iax2.o iax2-parser.o
>  ifeq ($(USE_MYSQL_FRIENDS),1)
> - $(CC) $(SOLINK) -o $@ chan_iax2.o iax2-parser.o -lmysqlclient -lz
> + $(CC) $(SOLINK) -o $@ chan_iax2.o iax2-parser.o -L/usr/lib/mysql
> -lmysqlclient -lz
>  else
>   $(CC) $(SOLINK) -o $@ chan_iax2.o iax2-parser.o
>  endif
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list