Dave Green
2005-Jan-10 15:15 UTC
[Asterisk-Users] /usr/bin/ld error on make asterisk with Fedora Core 3
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 ? TIA, Dave -------- CAUTION: This message and any attachments contain privileged and confidential information. If you are not the intended recipient of this message, you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify the sender immediately via email and then destroy this message and any attachments. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Winstone Pulp International Ltd.
Chris Miller
2005-Jan-10 16:13 UTC
[Asterisk-Users] /usr/bin/ld error on make asterisk with Fedora Core 3
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