LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I install mhash with static libs? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-mhash-with-static-libs-645862/)

randyvalpobb 05-30-2008 11:20 AM

How do I install mhash with static libs?
 
I am trying to install mhash with static libs in order to get aide working. Any suggestions?

seraphim172 05-30-2008 03:59 PM

Most packages install shared libraries. Check for the mhash libraries: if they end with .so, .so.0 or similar, then it's a shared library. If it ends with .a, then it's a static library.

If you don't have the static library, build it from source. ./configure usually takes an option for building static libraries (see ./configure --help).

Apparently you want to build AIDE from source, otherwise static libraries do not make sense.

Linux Archive

abefroman 05-31-2008 08:24 AM

wget http://internap.dl.sourceforge.net/s...h-0.9.9.tar.gz
tar -xzvf mhash-0.9.9.tar.gz
cd mhash*
./configure --enable-static=yes
make
make install


All times are GMT -5. The time now is 08:21 PM.