Lidn

hi all
when i try to install asterisk i got :

/usr:src/ld: cannot find -lidn
collect2: ld returned 1 exit status
make[1]: *** [app_curl.so] error 1
make[1]: leaving directory '/usr/src/asterisk/apps’
make: *** [subdirs] error 1

any ideas ?
thanks a lot in advance.
Aicha

it looks like a (libcurl ??) dependency problem. before trying to compile asterisk, make sure you have resolved all the dependencies.

asteriskguru.com/tutorials/b … ource.html is a good place to start.

the link is very interesting but i already installed the dependecies they asked to install.

do you have another idea ?
thanks.
Aicha

i’m having the same issue, any solution?


make[1]: Entering directory `/usr/src/asterisk-1.4.25.1/funcs'
   [CC] func_audiohookinherit.c -> func_audiohookinherit.o
   [LD] func_audiohookinherit.o -> func_audiohookinherit.so
   [CC] func_base64.c -> func_base64.o
   [LD] func_base64.o -> func_base64.so
   [CC] func_callerid.c -> func_callerid.o
   [LD] func_callerid.o -> func_callerid.so
   [CC] func_cdr.c -> func_cdr.o
   [LD] func_cdr.o -> func_cdr.so
   [CC] func_channel.c -> func_channel.o
   [LD] func_channel.o -> func_channel.so
   [CC] func_curl.c -> func_curl.o
   [LD] func_curl.o -> func_curl.so
/usr/bin/ld: skipping incompatible /usr/lib/libidn.so when searching for -lidn
/usr/bin/ld: skipping incompatible /usr/lib/libidn.a when searching for -lidn
/usr/bin/ld: cannot find -lidn
collect2: ld returned 1 exit status
make[1]: *** [func_curl.so] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.4.25.1/funcs'
make: *** [funcs] Error 2

Thanks,

The problem is that it is finding libidn, but it is probably finding a 32 bit version.