Error installing Asterisk 1.4.24.1

Hi,

I am trying to install Asterisk 1.4.24.1. I have pycurl and curl installed on system (Laptop running FC10). Can you tell me why this error is coming and how to fix it?


[AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o -> libdb1.a
make[2]: Leaving directory /usr/src/asterisk-1.4.24.1/main/db1-ast' [LD] abstract_jb.o acl.o aescrypt.o aeskey.o aestab.o alaw.o app.o ast_expr2.o ast_expr2f.o asterisk.o astmm.o astobj2.o audiohook.o autoservice.o callerid.o cdr.o channel.o chanvars.o cli.o config.o cryptostub.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o file.o fixedjitterbuf.o frame.o fskmodem.o global_datastores.o http.o image.o indications.o io.o jitterbuf.o loader.o logger.o manager.o md5.o netsock.o pbx.o plc.o privacy.o rtp.o say.o sched.o sha1.o slinfactory.o srv.o stdtime/localtime.o strcompat.o tdd.o term.o threadstorage.o translate.o udptl.o ulaw.o utils.o editline/libedit.a db1-ast/libdb1.a ../apps/modules.link ../cdr/modules.link ../channels/modules.link ../codecs/modules.link ../formats/modules.link ../funcs/modules.link ../pbx/modules.link ../res/modules.link -> asterisk /usr/bin/ld: cannot find -lcurl collect2: ld returned 1 exit status make[1]: *** [asterisk] Error 1 make[1]: Leaving directory/usr/src/asterisk-1.4.24.1/main’
make: *** [main] Error 2

Regards,
VKM

Can anybody find the fix for this error in Asterisk installation! Asterisk has never sucked me like this.

VKM

maybe you need something like curl-devel or curl-dev

I already have latest Curl libraries and Pycurl installed. Asterisk was working on my system earlier but now it seems to be broken.

VKM

I have found the solution with the help of a Linux Guru.
Before doing ./configure I did this:

export CFLAG=-l/usr/bin/curl-config

and it worked.

VKM

Hi

i’m having this error while i try to install Asterisk on my 64 bit machine.


make[1]: Entering directory `/usr/src/asterisk-1.4.25.1/funcs'
   [CC] func_audiohookinherit.c -> func_audiohookinherit.o
   [LD] func_audiohookinherit.o -> func_audiohookinherit.so
   [CC] func_base64.c -> func_base64.o
   [LD] func_base64.o -> func_base64.so
   [CC] func_callerid.c -> func_callerid.o
   [LD] func_callerid.o -> func_callerid.so
   [CC] func_cdr.c -> func_cdr.o
   [LD] func_cdr.o -> func_cdr.so
   [CC] func_channel.c -> func_channel.o
   [LD] func_channel.o -> func_channel.so
   [CC] func_curl.c -> func_curl.o
   [LD] func_curl.o -> func_curl.so
/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