Quick problem

ive been trying to fix an error i had when i installed asterisk, the error is

[app_dtmftotext.so]Feb 17 00:09:31 WARNING[20077]: loader.c:258 ast_load_resource: /usr/lib/asterisk/modules/app_dtmftotext.so: undefined symbol: gethostbyname__is__not__reentrant__use__ast_gethostbyname__instead
Feb 17 00:09:31 WARNING[20077]: loader.c:440 load_modules: Loading module app_dtmftotext.so failed!

ive been looking and looking and i cant seem to find anything on how to fix this.

The error suggests editing the file but its in binary, does anyone know how to fix this?