check that the file   libbfd-2.14.90.0.4.s <http://libbfd-2.14.90.0.4.so/>
is present in /usr/lib and is readable.


On Mon, Apr 23, 2012 at 8:43 AM, dan (ddp) <[email protected]> wrote:

> On Sat, Apr 21, 2012 at 11:00 AM, carlopmart <[email protected]> wrote:
> > Hi all,
> >
> >  I am trying to install ossec agent on a CentOS5 (full updated) and
> > install.sh returns me this error:
> >
> > make[1]: Entering directory `/tmp/x/ossec-hids-2.6/src/os_xml'
> > gcc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers
> > -DDEFAULTDIR=\"/var/ossec\" -DCLIENT  -DUSEINOTIFY    -DARGV0=\"os_xml\"
> > -DXML_VAR=\"var\" -DOSSECHIDS -c os_xml.c os_xml_access.c
> > os_xml_node_access.c os_xml_variables.c os_xml_writer.c
> > ar cru os_xml.a os_xml.o os_xml_access.o os_xml_node_access.o
> > os_xml_variables.o os_xml_writer.o
> > ar: error while loading shared libraries: libbfd-2.14.90.0.4.so: cannot
> open
> > shared object file: No such file or directory
>
> I feel like this may be a problem. ^
>
> > make[1]: *** [xml] Error 127
> > make[1]: Leaving directory `/tmp/x/ossec-hids-2.6/src/os_xml'
> >
> > Error Making os_xml
> > make: *** [all] Error 1
> >
> >  Error 0x5.
> >  Building error. Unable to finish the installation.
> >
> > Package binutils is installed:
> >
> > [root@shadowfax ossec-hids-2.6]# yum whatprovides "*libbfd*"
> > Loaded plugins: fastestmirror
> > Loading mirror speeds from cached hostfile
> > base/filelists
> >                                    | 3.0 MB     00:00
> > updates/filelists_db
> >                                    | 742 kB     00:00
> > binutils-2.17.50.0.6-20.el5.i386 : A GNU collection of binary utilities.
> > Repo        : base
> > Matched from:
> > Other       : libbfd-2.17.50.0.6-20.el5.so
> > Filename    : /usr/lib/libbfd-2.17.50.0.6-20.el5.so
> >
> >
> >
> > binutils-devel-2.17.50.0.6-20.el5.i386 : BFD and opcodes static libraries
> > and header files
> > Repo        : base
> > Matched from:
> > Filename    : /usr/lib/libbfd.a
> >
> >
> >
> > binutils-2.17.50.0.6-20.el5.i386 : A GNU collection of binary utilities.
> > Repo        : installed
> > Matched from:
> > Other       : libbfd-2.17.50.0.6-20.el5.so
> > Filename    : /usr/lib/libbfd-2.17.50.0.6-20.el5.so
> >
> >
> >
> > [root@shadowfax ossec-hids-2.6]# yum install binutils
> > Loaded plugins: fastestmirror
> > Loading mirror speeds from cached hostfile
> > Setting up Install Process
> > Package binutils-2.17.50.0.6-20.el5.i386 already installed and latest
> > version
> > Nothing to do
> >
> > Where is the problem??
> > --
> > CL Martinez
> > carlopmart {at} gmail {d0t} com
>

Reply via email to