|Summary:||ASTERISK-03085: New App Curl - Compilation Error|
|Date Opened:||2004-12-24 01:29:44.000-0600||Date Closed:||2011-06-07 14:10:42|
|Description:||When I do a “make” on the latest Asterisk cvs I get an error as defined below.|
/usr/bin/ld: cannot find -lidn
collect2: ld returned 1 exit status
make: *** [app_curl.so] Error 1
make: Leaving directory `/usr/src/asterisk/apps'
make: *** [subdirs] Error 1
****** ADDITIONAL INFORMATION ******
I am using Fedora Core 3 - The first install of Asterisk a week ago on my system from the latest cvs went smoothly with no errors. It appears as though the new App “Curl” that was added to the cvs on the 12/22/04 does not work with FC3.
|Comments:||By: Olle Johansson (oej) 2004-12-24 02:38:44.000-0600|
libidn - isn't that for internationalized domain names? Makes sense for libcurl to call on that.
A user on the IRC reported problems compiling due to the fact that the libcurl libraries was older than expected by app_curl. We need to document version (or check in the makefile).
By: egnarf (egnarf) 2004-12-24 03:11:12.000-0600
Do you have libidn installed? Not just the lib but also the dev-packages (if there is something like that in fedora that is)
By: Mark Spencer (markster) 2004-12-24 03:46:00.000-0600
I agree that this seems to be an installation issue (i.e. idl-devel is not installed, yet cur-devel is installed) but it would be good to be able to work around it.
By: Mark Spencer (markster) 2004-12-24 03:46:46.000-0600
Reminder sent to Corydon76
FYI, might want to take a look at this bug...
By: () 2004-12-24 08:36:18.000-0600
I am using libidn version 0.5.6 though I did not have libidn-devel package installed. After installing the libidn-devel package Asterisk compiled properly.
By: Tilghman Lesher (tilghman) 2004-12-24 11:32:01.000-0600
This would appear to be a problem with Fedora - in that libcurl was compiled with libidn, but installation of the libidn RPM is not required for installation of the libcurl-devel RPM. If that were the case, you could never have had this weird error (unless you did an RPM install with --nodeps).
By: Brian West (bkw918) 2004-12-24 12:07:10.000-0600
Its a local env issue.