The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_evasive, strange error when trying to install

Discussion in 'General Discussion' started by jols, Sep 7, 2009.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Getting this on the final step:

    [/usr/local/src/mod_evasive]# /usr/local/apache/bin/apxs -cia mod_evasive20.c
    /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/local/apache/include -I/usr/local/apache/include -I/usr/local/apache/include -c -o mod_evasive20.lo mod_evasive20.c && touch mod_evasive20.slo
    as: error while loading shared libraries: libbfd-2.17.50.0.6-12.el5.so: cannot open shared object file: No such file or directory
    apxs:Error: Command failed with rc=65536

    --------------

    Note: "error while loading shared libraries: libbfd-2.17.50.0.6-12.el5.so: cannot open shared object file: No such file or directory"

    --------------

    Also when I try:

    yum install httpd-devel

    I get this:

    Loaded plugins: rhnplugin, security
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package httpd-devel available.
    Nothing to do

    Any ideas would be greatly appreciated.
     
  2. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    By the way, we're running:


    cPanel 11.24.5-R38506 - WHM 11.24.2 - X 3.9
    REDHAT Enterprise 5.4 i686 standard on cumulus
     
  3. marslert

    marslert Member

    Joined:
    May 23, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I faced the similar problem also. Any advice?
     
  4. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Anyone? Anyone?

    Perhaps mod_evasive is no longer compatible with Apache v2.x?
     
  5. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    ROFL! Regarding the above comment, very funny! :rolleyes: :D

    Mod_Evasive works perfectly fine with both Apache 2.0 and 2.2!

    Now let's look at your error message:
    You are missing a required library from your system, bfd, and this is what is causing your compile of mod_evasive to fail.

    This particular library is part of the binutils package so you might want
    to try installing or reinstalling that package and your base compiler:
    Code:
    # yum install binutils coreutils make dialog gcc gcc-*
    If you are told that it (binutils) is already installed, reinstall:
    Code:
    # yum -y reinstall binutils
    It is possible you do have libbfd installed but in a different location from the normal typical default. In that case, you could use "whereis" and "locate" commands to find your libbfd-*.so library file and then use that location in the parameters on your apxs command building mod_evasive.
     
  6. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Great, thanks for the help. I'll try this.
     
Loading...

Share This Page