[Asterisk-Users] compile error cannot find -lidn

Tom Lanyon tom at netspot.com.au
Thu Jun 9 19:32:29 MST 2005


Hello,

Looks like you don't have libidn installed.
( http://www.gnu.org/software/libidn/ )

Install it in your preferred manner (portage, apt-get, rpm, source) and
try building again.

Hope this helps,
Tom

PS. I've just joined the list, first post... yay!


On Thu, 2005-06-09 at 19:22 -0700, Kamran Ahmad wrote:
> hello
> 
> can u tell me what is the problem in my asterisk or
> linux why i am getting this error while make.
> 
> 
> PTEL_OPTIMIZATIONS 
> -DASTERISK_VERSION=\"CVS-HEAD-05/26/05-20:43:39\"
> -DASTERISK _VERSION_NUM=999999 -DINSTALL_PREFIX=\"\"
> -DASTETCDIR=\"/etc/asterisk\" -DASTLIB
> DIR=\"/usr/lib/asterisk\"
> -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"
> /var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\"
> -DASTLOGDIR=\"/var/log/asterisk \"
> -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
> -DASTMODDIR=\"/usr/lib/asterisk /modules\"
> -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"    
> -DBUSYDETECT_MARTIN  -fomit-frame-pointer 
> -Wno-missing-prototypes -Wno-missing-declarations  
> -DZAP ATA_PRI   -DIAX_TRUNKING   -DCRYPTO -fPIC  -o
> chan_zap.o chan_zap.c
> chan_zap.c: In function `load_module':
> chan_zap.c:10252: warning: passing arg 1 of
> `pri_set_error' from incompatible po inter type
> chan_zap.c:10253: warning: passing arg 1 of
> `pri_set_message' from incompatible pointer type
> gcc -shared -Xlinker -x -o chan_zap.so chan_zap.o 
> -lpri  -ltonezone
> make[1]: Leaving directory `/asterisk/channels'
> make[1]: Entering directory `/asterisk/pbx'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/asterisk/pbx'
> make[1]: Entering directory `/asterisk/apps'
> gcc -shared -Xlinker -x -o app_curl.so app_curl.o
> -L/usr/lib -lcurl -L/usr/kerbe ros/lib -lssl -lcrypto
> -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv
> -ldl - lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
> -lresolv -L/usr/kerberos/lib -lidn -lssl -lcrypto
> -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err
> -lk5crypto -lresolv  -ldl -lz -lz
> /usr/bin/ld: cannot find -lidn
> collect2: ld returned 1 exit status
> make[1]: *** [app_curl.so] Error 1
> make[1]: Leaving directory `/asterisk/apps'
> make: *** [subdirs] Error 1
> 
> 
> 
> 		
> __________________________________ 
> Discover Yahoo! 
> Get on-the-go sports scores, stock quotes, news and more. Check it out! 
> http://discover.yahoo.com/mobile.html
> _______________________________________________
> 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