[Asterisk-Users] /usr/bin/ld error on make asterisk with Fedora Core 3

Chris Miller asterisk at scratchspace.com
Mon Jan 10 16:13:44 MST 2005


Dave Green wrote:
> I've downloaded the latest CVS as of yesterday. Zaptel and libpri 
> compile and link OK but after issuing the "make asterisk" command I get 
> the following:
> 
> /usr/bin/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
> 
> Linux version is 2.6.9-1.667
> gcc version 3.4.2
> 
> I compiled an earlier version of asterisk OK on a RH9 install but 
> couldn't get zaptel to compile and I didn't have the kernel source files 
> for RH9, so went to FC3. One step forward, one step back :)
> 
> Any pointers to fixing / working around this error ?

Works fine for me, did you "su -" to pick up root's env? It's saying it
can't find the idn library. Make sure you have libidn-0.5.6-1 installed.
Also, you need to update that system, there's a kernel update for a
nasty (albeit local) security hole.

Chris




More information about the asterisk-users mailing list