[asterisk-dev] Asterisk-1.4.2 /usr/bin/ld: skipping incompatible /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../liberror.so when searching for -lerror
sean darcy
seandarcy2 at gmail.com
Wed Feb 27 07:56:54 CST 2008
Sathishkumar P wrote:
> Dear Friends,
> I am new to asterisk... I am trying to install asterisk-1.4.2 in my
> linux Redhat EL4. I am getting the following error. Plz help me to solve
> the problem....
>
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> [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 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 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 -> asterisk
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../liberror.so when searching
> for -lerror
> /usr/bin/ld: skipping incompatible /lib/liberror.so when searching for
> -lerror
> /usr/bin/ld: skipping incompatible /usr/lib/liberror.so when searching
> for -lerror
> /usr/bin/ld: cannot find -lerror
> collect2: ld returned 1 exit status
> make[1]: *** [asterisk] Error 1
> make: *** [main] Error 2
>
>
>
>
>
>
> Regards
> Sathishkumar.P
>
You may be running x86_64, and therefore need /usr/lib64/liberror.so.
Look for an x86_64 liberror-devel rpm package.
BTW, when posting, don't start a thread by replying to an existing one.
You're "stealing" the existing thread.
sean
More information about the asterisk-dev
mailing list