rpm -ql zlib-1.2.3-29.el6.x86_64 will tell you the files and paths
Leonard F. Elia III, CISSP System Administrator (contractor) NASA Center for AeroSpace Information Contract Chugach Federal Solutions, Inc. 757.848.5244 x15 Fax: 757.848.5250 On 3/14/2014 11:57 AM, Yunker, James M CIV NUWC NWPT wrote: > Yes, I saw that error some time ago. The reply when I run the command rpm > -qa zlib* is : > > zlib-1.2.3-29.el6.x86_64 > zlib-1.2.3-29.el6.i686 > zlib_devel-1.2.3-29.el6.x86_64 > > I do not have the 32 bit version of zlib-devel-1.2.3-29.el6.i686 installed. > > I do not know if aide is 32 or 64 bit. > > I am also aware that there is higher number (i.e. a later) version of zlib. > > When I install the 64 bit version of zlib where does it go? > > I will put that in my path. When I configure aide what part of zlib is it > looking for? > > Any help appreciated. > > Respectfully, > > James M. Yunker > > > -----Original Message----- > From: Aide [mailto:[email protected]] On Behalf Of [email protected] > Sent: Friday, March 14, 2014 10:50 AM > To: [email protected] > Subject: Aide Digest, Vol 91, Issue 3 > > Send Aide mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://mailman.cs.tut.fi/mailman/listinfo/aide > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific than "Re: > Contents of Aide digest..." > > > Today's Topics: > > 1. Re: install using centos rpm (Keith Constable) > 2. Re: install using centos rpm (Yunker, James M CIV NUWC NWPT) > 3. Re: install using centos rpm (Ramon Long) > 4. Re: install using centos rpm (Keith Constable) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 13 Mar 2014 17:02:17 -0400 > From: Keith Constable <[email protected]> > To: Aide user mailinglist <[email protected]> > Subject: Re: [Aide] install using centos rpm > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > James, > > Generally speaking, when a package build system complains about a missing > library, it is looking for the "-devel" version of it. You may want to check > the CentOS packaging system for a zlib-devel and libcrypt-devel or something > similar. > > Regards, > > Keith Constable > > > > On 13 Mar 2014, at 12:26 PM, Yunker, James M CIV NUWC NWPT > <[email protected]> wrote: > >> I re-ran configure using what you said: >> >> ./configure --without-mmap >> >> and the following output was seen: >> >> Checking for deflate in : lz ... no >> Configure: error: You don't have zlib properly installed. Install it or try >> --with-out-zlib. >> >> I am using Centos 6.5, 64 bit. I have zlib installed for both 32 and >> 64 bits. I am not sure what They are saying. >> >> I reinstalled zlib using : >> >> sudo yum install zlib >> >> so it should be okay. >> >> It still gave me the same error when I re-installed zlib, and reran: >> >> ./configure --without-mmap >> >> >> Then I tried : >> >> ./configure --without-mmap --without-zlib >> >> The following output was seen: >> >> checking for mhash get_block_size in -lmhash... no >> configure: WARNING : No mhash means no hmac. >> checking for gpg_sterror in-lgpg-error ... no configure error: You >> need to have libgpg-error.a install to use libcrypt. >> >> >> Now I am not sure what else to do. >> >> It seems that I should configure with zlib, >> >> It says it is not installed improperly. >> >> I am assuming it is looking for the 64 bit zlib, since my native operating >> system is Centos 6.5, 64 bit. >> >> I am guessing it is not find zlib and I must direct configure it to find >> zlib. >> >> I am just not sure if I am even on the correct track or not. It is just not >> finding zlib. >> >> How do I direct it to find it? >> >> What else can I do? >> >> Any help appreciated. >> >> Thanks in advance. >> >> Respectfully, >> >> James M. Yunker >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: Yunker, James M CIV NUWC NWPT >> Sent: Tuesday, March 11, 2014 4:41 PM >> To: '[email protected]' >> Subject: install using centos rpm >> >> While running AIDE the program crashes or terminates after a few minutes >> with the message shown below: >> >> >> Code: >> Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running? >> Caught SIGBUS/SEGV. Exiting What is wrong here? >> >> One website on the internet said to configure AIDE without mmaping - except >> it did not say how to do that or why one should do that? >> >> What does this error mean and how do I fix it? >> >> Thanks. >> >> R, >> >> James M. Yunker >> >> I am using Centos 6.5, 64 bit Linux. I installed and then received this >> error when it crashed. It has never crated a complete database of my >> computer. >> _______________________________________________ >> Aide mailing list >> [email protected] >> https://mailman.cs.tut.fi/mailman/listinfo/aide > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 2849 bytes > Desc: not available > URL: > <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140313/0fc6ce5e/attachment-0001.bin> > > ------------------------------ > > Message: 2 > Date: Fri, 14 Mar 2014 14:05:13 +0000 > From: "Yunker, James M CIV NUWC NWPT" <[email protected]> > To: "[email protected]" <[email protected]> > Subject: Re: [Aide] install using centos rpm > Message-ID: > > <c835c46a299c2841a1e6cbacea1ba11b0c113...@naeaphilxm04v.nadsusea.nads.navy.mil> > > Content-Type: text/plain; charset="us-ascii" > > I think that I did not make something clear and that I should clear it up > immediately. > > I started by installing an rpm version of aide. > > sudo yum install aide > > when I ran aide --init > > this is when I got > > Caught SIGBUS/SEGV while mmaping. File was truncated while aide was running. > Caught SIGBUS/SEGV. Exiting. > > This as I said was from an rpm install of aide. > > Now when you said to configure without mmaping, I assumed that you meant to > configure Like this, > > configure, > > make, > > make install. > > Could you have meant the aide.conf file instead? > > Once I received the initial error on my rpm install, I went to the > > aide-0.15.1.tar.gz > > method of installing aide. I then ran configure, make and make install. > > So maybe when you said to use configure without mmaping, you meant the > > Aide.conf file? > > Is this possible? > > Thanks in advance. > > > Respectfully, > > James M. Yunker > > > > > > -----Original Message----- > From: Yunker, James M CIV NUWC NWPT > Sent: Tuesday, March 11, 2014 4:41 PM > To: '[email protected]' > Subject: install using centos rpm > > While running AIDE the program crashes or terminates after a few minutes with > the message shown below: > > > Code: > Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running? > Caught SIGBUS/SEGV. Exiting What is wrong here? > > One website on the internet said to configure AIDE without mmaping - except > it did not say how to do that or why one should do that? > > What does this error mean and how do I fix it? > > Thanks. > > R, > > James M. Yunker > > I am using Centos 6.5, 64 bit Linux. I installed and then received this > error when it crashed. It has never crated a complete database of my > computer. > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 5621 bytes > Desc: not available > URL: > <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140314/fbaf484a/attachment-0001.bin> > > ------------------------------ > > Message: 3 > Date: Fri, 14 Mar 2014 15:29:50 +0000 > From: Ramon Long <[email protected]> > To: Aide user mailinglist <[email protected]> > Subject: Re: [Aide] install using centos rpm > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > James, > > Good morning. > >>From a SysAdmin perspective you should choose whether to build from source or >>install from your OS' package management system. If you need to recompile >>for a particular feature, you should try removing the RPM that you installed. > > Regards, > > Ramon Long > Director of Information Systems > Evolve, Inc. > Advertising + Marketing + Public Relations > tel: 252.754.2957 ext. 111 > [email protected] > > > -----Original Message----- > From: Aide [mailto:[email protected]] On Behalf Of Yunker, James M CIV > NUWC NWPT > Sent: Friday, March 14, 2014 10:05 AM > To: [email protected] > Subject: Re: [Aide] install using centos rpm > > I think that I did not make something clear and that I should clear it up > immediately. > > I started by installing an rpm version of aide. > > sudo yum install aide > > when I ran aide --init > > this is when I got > > Caught SIGBUS/SEGV while mmaping. File was truncated while aide was running. > Caught SIGBUS/SEGV. Exiting. > > This as I said was from an rpm install of aide. > > Now when you said to configure without mmaping, I assumed that you meant to > configure Like this, > > configure, > > make, > > make install. > > Could you have meant the aide.conf file instead? > > Once I received the initial error on my rpm install, I went to the > > aide-0.15.1.tar.gz > > method of installing aide. I then ran configure, make and make install. > > So maybe when you said to use configure without mmaping, you meant the > > Aide.conf file? > > Is this possible? > > Thanks in advance. > > > Respectfully, > > James M. Yunker > > > > > > -----Original Message----- > From: Yunker, James M CIV NUWC NWPT > Sent: Tuesday, March 11, 2014 4:41 PM > To: '[email protected]' > Subject: install using centos rpm > > While running AIDE the program crashes or terminates after a few minutes with > the message shown below: > > > Code: > Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running? > Caught SIGBUS/SEGV. Exiting What is wrong here? > > One website on the internet said to configure AIDE without mmaping - except > it did not say how to do that or why one should do that? > > What does this error mean and how do I fix it? > > Thanks. > > R, > > James M. Yunker > > I am using Centos 6.5, 64 bit Linux. I installed and then received this > error when it crashed. It has never crated a complete database of my > computer. > > > ------------------------------ > > Message: 4 > Date: Fri, 14 Mar 2014 10:49:27 -0400 > From: Keith Constable <[email protected]> > To: Aide user mailinglist <[email protected]> > Subject: Re: [Aide] install using centos rpm > Message-ID: <5213986468551558109@unknownmsgid> > Content-Type: text/plain; charset="iso-8859-1" > > I believe you understood correctly. Allow me to explain more explicitly. When > you install a library package with Yum (for example zlib), you generally only > get the binary library .so files. This is all you need to run an application > linked to those libraries. > > However, compiling a package from source requires the source headers (.h > files) of the required libraries. These are not packaged in the main RPM for > the library, since they are not usually needed. Instead, they are packaged in > a "devel" RPM. So I believe to correct your issue with zlib, you can run "yum > install zlib-devel". You will need to install the -devel package for any > other libraries the configure script complains about. > > Regards, > > Keith Constable > > >> On Mar 14, 2014, at 10:36 AM, "Yunker, James M CIV NUWC NWPT" >> <[email protected]> wrote: >> >> I think that I did not make something clear and that I should clear it up >> immediately. >> >> I started by installing an rpm version of aide. >> >> sudo yum install aide >> >> when I ran aide --init >> >> this is when I got >> >> Caught SIGBUS/SEGV while mmaping. File was truncated while aide was running. >> Caught SIGBUS/SEGV. Exiting. >> >> This as I said was from an rpm install of aide. >> >> Now when you said to configure without mmaping, I assumed that you >> meant to configure Like this, >> >> configure, >> >> make, >> >> make install. >> >> Could you have meant the aide.conf file instead? >> >> Once I received the initial error on my rpm install, I went to the >> >> aide-0.15.1.tar.gz >> >> method of installing aide. I then ran configure, make and make install. >> >> So maybe when you said to use configure without mmaping, you meant the >> >> Aide.conf file? >> >> Is this possible? >> >> Thanks in advance. >> >> >> Respectfully, >> >> James M. Yunker >> >> >> >> >> >> -----Original Message----- >> From: Yunker, James M CIV NUWC NWPT >> Sent: Tuesday, March 11, 2014 4:41 PM >> To: '[email protected]' >> Subject: install using centos rpm >> >> While running AIDE the program crashes or terminates after a few minutes >> with the message shown below: >> >> >> Code: >> Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running? >> Caught SIGBUS/SEGV. Exiting What is wrong here? >> >> One website on the internet said to configure AIDE without mmaping - except >> it did not say how to do that or why one should do that? >> >> What does this error mean and how do I fix it? >> >> Thanks. >> >> R, >> >> James M. Yunker >> >> I am using Centos 6.5, 64 bit Linux. I installed and then received this >> error when it crashed. It has never crated a complete database of my >> computer. >> _______________________________________________ >> Aide mailing list >> [email protected] >> https://mailman.cs.tut.fi/mailman/listinfo/aide > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 2760 bytes > Desc: not available > URL: > <http://mailman.cs.tut.fi/pipermail/aide/attachments/20140314/21ceb3f8/attachment.bin> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Aide mailing list > [email protected] > https://mailman.cs.tut.fi/mailman/listinfo/aide > > > ------------------------------ > > End of Aide Digest, Vol 91, Issue 3 > *********************************** > > > > _______________________________________________ > Aide mailing list > [email protected] > https://mailman.cs.tut.fi/mailman/listinfo/aide > _______________________________________________ Aide mailing list [email protected] https://mailman.cs.tut.fi/mailman/listinfo/aide
