To find what package its in and if it's installed or not: yum provides "*/opensslconf.h"
Sent from my iPhone On Jun 25, 2012, at 7:09, "dan (ddp)" <[email protected]> wrote: > On Mon, Jun 25, 2012 at 5:47 AM, Amritha Kumar > <[email protected]> wrote: >> Hi, >> i ran the following command and found that the rpm >> "openssl-0.9.7a-43.17.el4_6.1" has the open sslconf-new.h file in it. >> Is there any way by which the installation file can be pointed to this file >> rather than opensslconf.h? >> > > I don't know what that file is, so I can't determine whether it would > help. Do you have the openssl development packages installed? If so, > the opensslconf.h should be on the system somewhere. > >> Thanks and regards >> Amritha Kumar >> >> >> On Thu, Jun 7, 2012 at 5:35 PM, dan (ddp) <[email protected]> wrote: >>> >>> On Thu, Jun 7, 2012 at 1:51 AM, Amritha Kumar >>> <[email protected]> wrote: >>>> Hi, >>>> >>>> i am not very versed with linux systems. how can i check where the >>>> opensslconf.h file is? >>>> is there any command or something like that? >>>> thanks and regards >>>> Amritha >>>> >>> >>> Use find. >>> >>> `find /usr -name opensslconf.h` >>> >>> If it isn't found, you should figure out what package it comes in and >>> install that package. >>> >>>> >>>> On Tue, Jun 5, 2012 at 8:13 PM, dan (ddp) <[email protected]> wrote: >>>>> >>>>> On Tue, May 29, 2012 at 1:27 AM, Amritha Kumar >>>>> <[email protected]> wrote: >>>>>> Hi, >>>>>> I was trying to install the ossec agent on a RED HAT machine (Red Hat >>>>>> Enterprise Linux AS release 4 (Nahant Update 6)). >>>>>> It has the following gcc installed : >>>>>> compat-gcc-32-c++-3.2.3-47.3 >>>>>> gcc-3.4.6-9 >>>>>> compat-libgcc-296-2.96-132.7.2 >>>>>> libgcc-3.4.6-9 >>>>>> gcc-g77-3.4.6-9 >>>>>> compat-gcc-32-3.2.3-47.3 >>>>>> libgcc-3.4.6-9 >>>>>> gcc-c++-3.4.6-9 >>>>>> >>>>>> It also has the following ssl packages installed : >>>>>> openssl-0.9.7a-43.17.el4_6.1 >>>>>> xmlsec1-openssl-1.2.6-3 >>>>>> openssl-0.9.7a-43.17.el4_6.1 >>>>>> pyOpenSSL-0.6-1.p23 >>>>>> xmlsec1-openssl-1.2.6-3 >>>>>> openssl-devel-0.9.7a-43.17.el4_6.1 >>>>>> openssl096b-0.9.6b-22.46 >>>>>> >>>>>> But still during the installation i am getting the below mentioned >>>>>> error. >>>>>> >>>>>> >>>>>> >>>>>> *** Making os_crypto *** >>>>>> >>>>>> make[1]: Entering directory `/home/s037855/ossec-hids-2.6/src/ >>>>>> os_crypto' >>>>>> make[2]: Entering directory `/home/s037855/ossec-hids-2.6/src/ >>>>>> os_crypto/blowfish >>>>>> ' >>>>>> gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" - >>>>>> DCLIENT -DUS >>>>>> E_OPENSSL -DARGV0=\"blowfish_op\" -DXML_VAR=\"var\" -DOSSECHIDS >>>>>> -c >>>>>> bf_op.c b >>>>>> f_skey.c bf_enc.c >>>>>> In file included from bf_locl.h:69, >>>>>> from bf_skey.c:62: >>>>>> /usr/include/openssl/opensslconf.h:25:32: opensslconf-x86_64.h: No >>>>>> such file or >>>>>> directory >>>>>> In file included from bf_locl.h:69, >>>>>> from bf_enc.c:60: >>>>>> /usr/include/openssl/opensslconf.h:25:32: opensslconf-x86_64.h: No >>>>>> such file or >>>>>> directory >>>>>> make[2]: *** [bf] Error 1 >>>>>> make[2]: Leaving directory >>>>>> `/home/s037855/ossec-hids-2.6/src/os_crypto/ >>>>>> blowfish' >>>>>> make[1]: *** [os_crypto] Error 2 >>>>>> make[1]: Leaving directory `/home/s037855/ossec-hids-2.6/src/ >>>>>> os_crypto' >>>>>> >>>>>> Error Making os_crypto >>>>>> make: *** [all] Error 1 >>>>>> >>>>>> Error 0x5. >>>>>> Building error. Unable to finish the installation. >>>>>> >>>>>> >>>>>> Kindly help. thanks in advance >>>>>> >>>>>> Amritha Kumar >>>>> >>>>> Where is opensslconf.h? >>>> >>>> >> >>
