2.5.1 worked...thanks for your help!
-- Lauren Malhoit IASTA Network Engineer +1.317.663.6263 (direct) +1.317.594.8600 (main) Blog: www.esourcingforum.com Wiki: www.esourcingwiki.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of dan (ddp) Sent: Wednesday, December 08, 2010 10:28 AM To: [email protected] Subject: Re: [ossec-list] bf_locl.h:69:55: error: openssl/opensslconf.h: No such file or directory On Fri, Dec 3, 2010 at 2:48 PM, Lauren Malhoit <[email protected]> wrote: > Thanks for your help! I get passed making os_crypto now, but get > stopped later making agentlessd > > *** Making agentlessd *** > > make[1]: Entering directory `/ossec-hids-2.5/src/agentlessd' > gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT > -DUSE_OPENSSL -DUSEINOTIFY -DARGV0=\"ossec-agentlessd\" > -DXML_VAR=\"var\" -DOSSECHIDS *.c ../config/lib_config.a > ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a > ../os_xml/os_xml.a -o ossec-agentlessd > /tmp/ccqsMLFS.o: In function `check_diff_file': > /ossec-hids-2.5/src/agentlessd/agentlessd.c:218: undefined reference > to `OS_MD5_File' > /ossec-hids-2.5/src/agentlessd/agentlessd.c:228: undefined reference > to `OS_MD5_File' > collect2: ld returned 1 exit status > make[1]: *** [magentless] Error 1 > make[1]: Leaving directory `/ossec-hids-2.5/src/agentlessd' > > Error Making agentlessd > make: *** [all] Error 1 > > Error 0x5. > Building error. Unable to finish the installation. > > > I installed the openssl development packages to fix the previous > issue...I can't find anything on this new issue. I'm guessing it's > related somehow as it mentions MD5. > What OS/distro/version are you using? What version of OSSEC is that? It looks like 2.5. If so, try 2.5.1 or the latest snapshot. Try deleting the source and untarring it again. Start with a clean slate. > -- > Lauren Malhoit > IASTA Network Engineer > +1.317.663.6263 (direct) > +1.317.594.8600 (main) > Blog: www.esourcingforum.com > Wiki: www.esourcingwiki.com > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of dan (ddp) > Sent: Friday, December 03, 2010 2:27 PM > To: [email protected] > Subject: Re: [ossec-list] bf_locl.h:69:55: error: openssl/opensslconf.h: > No such file or directory > > On Fri, Dec 3, 2010 at 1:44 PM, Lauren Malhoit > <[email protected]> > wrote: >> I'm loading more agents on other devices and everything has been >> working fine. I've run into one issue on one linux server, though. >> After I run install.sh I get the following: >> *** Making os_crypto *** >> >> make[1]: Entering directory `/ossec-hids-2.5/src/os_crypto' >> make[2]: Entering directory `/ossec-hids-2.5/src/os_crypto/blowfish' >> gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" >> -DCLIENT -DUSE_OPENSSL -DUSEINOTIFY -DARGV0=\"blowfish_op\" >> -DXML_VAR=\"var\" -DOSSECHIDS -c bf_op.c bf_skey.c bf_enc.c In file >> included from bf_skey.c:62: >> bf_locl.h:69:55: error: openssl/opensslconf.h: No such file or >> directory In file included from bf_enc.c:60: >> bf_locl.h:69:55: error: openssl/opensslconf.h: No such file or >> directory >> make[2]: *** [bf] Error 1 >> make[2]: Leaving directory `/ossec-hids-2.5/src/os_crypto/blowfish' >> make[1]: *** [os_crypto] Error 2 >> make[1]: Leaving directory `/ossec-hids-2.5/src/os_crypto' >> >> > > What distro/version? > I'm guessing that if you add the openssl/openssl development packages > this might go away. > >> >> I read in a previous post that I should just be able to remove the >> USE_OPENSSL section but I searched through the install.sh file and >> didn't see any reference. Any suggestions? >> > > I don't know anything about this, and I can't check on the exact > location at the moment. I'd guess src/Config.Make. > >> Thanks, >> >> >> -- >> Lauren Malhoit >> IASTA - Network Engineer >> +1.317.663.6263 (direct) >> +1.317.594.8600 (main) >> Blog: www.esourcingforum.com >> Wiki: www.esourcingwiki.com >> >> >
