Ad Widget

Collapse

agent install problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jaxxm
    Junior Member
    • Mar 2009
    • 14

    #1

    agent install problem

    hi all

    I am trying to install zabbix agent on a redhat 5.2 server. I have done this on a few system with no trouble whatsoever. however on 2 system (they are clones) I am having trouble. When i compile

    ./configure --enable-agent

    i get

    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.

    and when i check the config.log file i find

    configure:2855: gcc conftest.c >&5
    /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
    /usr/bin/ld: cannot find -lc
    collect2: ld returned 1 exit status
    configure:2858: $? = 1

    The system is a Redhat 5.2 vm on ESXi4 running on a Dell Blade server.

    I have tried a number of things including updating GCC but am running in to all sorts of dependency problems.

    could someone please help
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    do you have glibc-devel for the proper architecture installed ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • jaxxm
      Junior Member
      • Mar 2009
      • 14

      #3
      hi richlv

      I checked and i have

      rpm -aq | grep glibc
      glibc-devel-2.5-24
      glibc-2.5-24
      glibc-2.5-42
      glibc-headers-2.5-24
      glibc-common-2.5-42

      on the one server. I am trying to install it on the servers one at a time.

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #4
        I have had similar problems in the past. What I ended up doing was

        yum remove gcc, then

        yum update yum, then

        yum install gcc, then

        yum resolvedep gcc

        HTH

        MrKen
        Disclaimer: All of the above is pure speculation.

        Comment

        Working...