Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    859

    Default mod_evasive, strange error when trying to install

    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. #2
    Member
    Join Date
    Mar 2004
    Posts
    859

    Default

    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. #3
    Member
    Join Date
    May 2006
    Posts
    10

    Default

    Hello,

    I faced the similar problem also. Any advice?

  4. #4
    Member
    Join Date
    Mar 2004
    Posts
    859

    Default

    Anyone? Anyone?

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

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Exclamation

    Quote Originally Posted by jols View Post
    Anyone? Anyone?

    Perhaps mod_evasive is no longer compatible with Apache v2.x?
    ROFL! Regarding the above comment, very funny!

    Mod_Evasive works perfectly fine with both Apache 2.0 and 2.2!

    Now let's look at your error message:
    error while loading shared libraries: libbfd-2.17.50.0.6-12.el5.so: cannot open shared object file
    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. #6
    Member
    Join Date
    Mar 2004
    Posts
    859

    Default

    Great, thanks for the help. I'll try this.

Similar Threads & Tags
Similar threads

  1. Anyone have a mod_evasive install guide for Apache 2.0
    By DeadManWalking in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-23-2011, 09:18 PM
  2. Strange Error
    By myfights in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-09-2009, 03:42 PM
  3. mod_evasive install, then strange entry found in httpd.conf
    By jols in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-30-2008, 01:56 AM
  4. Strange error
    By mickalo in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-20-2006, 09:38 AM
  5. Strange FP install error
    By p5 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-06-2002, 04:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube