Asterisk Compile Failing

We’re trying to install asterisk-1.4.23.1 and it fails when we run ‘make’. Here is the ouput:

[root@iVueIVRTest asterisk-1.4.23.1]# make
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/menuselect'
make[2]: Entering directory `/usr/src/asterisk-1.4.23.1/menuselect'
make[2]: `menuselect' is up to date.
make[2]: Leaving directory `/usr/src/asterisk-1.4.23.1/menuselect'
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/menuselect'
menuselect/menuselect --check-deps menuselect.makeopts  
Generating embedded module rules ...
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/utils'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/agi'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/agi'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/res'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/res'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/channels'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/channels'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/pbx'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/pbx'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/apps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/apps'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/codecs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/codecs'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/formats'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/formats'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/cdr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/cdr'
make[1]: Entering directory `/usr/src/asterisk-1.4.23.1/funcs'
   [LD] func_curl.o -> func_curl.so
/usr/bin/ld: skipping incompatible /usr/lib/libcom_err.so when searching for -lcom_err
/usr/bin/ld: skipping incompatible /usr/lib/libcom_err.a when searching for -lcom_err
/usr/bin/ld: cannot find -lcom_err
collect2: ld returned 1 exit status
make[1]: *** [func_curl.so] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.4.23.1/funcs'
make: *** [funcs] Error 2

Unfortunately, we’re all fairly new to Asterisk here and this is our first attempt at installing Asterisk on a 64-bit machine. All of our installs on 32-bit machines have been successful, so we’re wondering if there’s something we need to do different. We’ve been working from the instructions found in the O’Reilly book: “Asterisk, The Future of Telephony” 2nd Edition.

Thanks

Okay, we’re making some progress. The following was found through a google search:

[quote]
“Simple put it’s a missing symlink, and the config script is trying to “failoverâ€

Do you have a 64 bit version of lib ‘‘idn’’ installed in ld’s search path?

Further to jdkullmann’s question, what distribution of linux are you using?
#cat /etc/issue

Hi -

I just wanted to check if you found any solution to the above error, i’m getting the same error message here are the detail:

/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 in advance![/quote]

Haven’t got a clue mate.
Do you know if you have curl and it’s dev libraries installed.

  1. Is your problem also on a 64 bit system?
  2. Is the version of asterisk the same as the one in this thread (1.4.23.1)?

libcurl just install dependencies for i386

if you are in 64bits just need to do this

yum -y install libidn-devel

and install 64bits libidn-devel library

try again

make distclean
./configure
make all