Solved

Asterisk install issues CentOS

Posted on 2009-07-05
16
973 Views
Last Modified: 2013-11-12
I am getting an error during the "make" portion of an asterisk install.  Here are some prerequisites, that make the issue rather frustrating, but maybe someone here can shine some light:

- I have done this exact same install, two times prior today, on 2 other boxes, by following the instructions verbatim at the site link below.  The only difference between the current box, and the 2 others, is this one is 64 bit.  All boxes are running Centos 5.3.  Here is the article I followed:

http://www.voip-info.org/wiki/view/CentOS+5+and+Asterisk+1.4.x+installation

- Here is the error I get, during the make:

/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]: *** [asterisk] Error 1
make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.4.25.1/main'
make: *** [main] Error 2

----  So I tested an install of Asterisk through "yum" (same version 1.4.25.1)  .... It worked fine, no errors....
---- I figured well maybe the yum installed a dependency or something I missed, and tried the manual way again... Of course running make clean, make distclean, before configuring from usr/src/ but it again failed with the same error message.

Anyone have any idea why this is happening.  I would really appreciate the help.  Thanks!!!


0
Comment
Question by:jkockler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 6
16 Comments
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24782549
0
 
LVL 4

Author Comment

by:jkockler
ID: 24782674
Will do when the machine comes back up.... is that "yum install -y curl"  ?
0
 
LVL 4

Author Comment

by:jkockler
ID: 24782705
is it "curl-devel" ?  If it is, then it is already installed.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24782830
0
 
LVL 4

Author Comment

by:jkockler
ID: 24782854
Curl is already installed.... I reinstalled the entire OS ... built all dependencies again, including curl.... Error changed, but relatively similar:

/usr/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.so when searching for -lgssapi_krb5
/usr/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.a when searching for -lgssapi_krb5
/usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
0
 
LVL 19

Accepted Solution

by:
NerdsOfTech earned 500 total points
ID: 24782878
Others say it is related to a mixed 32/64 bit setup

http://www.centos.org/modules/newbb/print.php?form=1&topic_id=17209&forum=44&order=ASC&start=0

maybe just going pure 64 may do the trick
0
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24782883
0
 
LVL 4

Author Comment

by:jkockler
ID: 24782895
what a disaster....

Do you know the exact line to add to yum.conf to make sure it does not download i386 packages?
0
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24782903
exclude=*.i386 *.i686
0
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24782913
I guess this is a messy process.

http://bugs.centos.org/view.php?id=2590
0
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24782918
1. a bare minimal install of x86_64
2. remove any i[3,5,6]86 packages
3. update yum.conf to exclude *.i386 *.i586 *.i686
4. manually force reinstall any affected x86_64 packages
5. yum groupinstall everything else you need with the excludes in place.
0
 
LVL 19

Expert Comment

by:NerdsOfTech
ID: 24782921
Live long and prosper.
0
 
LVL 4

Author Comment

by:jkockler
ID: 24782934
Thanks man....

... Yea I think I will just install Centos 32 bit, and be done with it.  I am only really using this box for Asterisk, so I do not see how I will even miss the 64 bit edition of Centos.... Sound like a good solution?
0
 
LVL 19

Assisted Solution

by:NerdsOfTech
NerdsOfTech earned 500 total points
ID: 24783014
Very much so. 64 bit is over-rated right now. Great for certain things but a big hassle for others to config.

Until 64-bit is fully compatible to what needs to be installed for your particular application(s)... 32-bit is the most stable setup in my opinion.

=NerdsOfTech
0
 
LVL 4

Author Comment

by:jkockler
ID: 24783155
Installed 32 bit Centos ---- Asterisk install was rock solid.  Thanks again Nerdsoftech!
0
 
LVL 7

Expert Comment

by:darrickhartman
ID: 24784729
64bit really is only beneficial if you have more than 4GB of ram.  Less than that and you're better off sticking with 32bit.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Syslog-ng works. Now what? How to filter and manage? 8 113
Simple Phone Dialer for Win10 2 109
SSH setup on ASA 5505 17 123
Bash script to include windows servers 13 40
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question