Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-30-2008, 12:20 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
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?
Old 05-30-2008, 04:59 PM   #2
Registered: May 2008
Posts: 101

Rep: Reputation: 15
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

Last edited by seraphim172; 06-25-2008 at 05:44 AM.
Old 05-31-2008, 09:24 AM   #3
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,419

Rep: Reputation: 55
tar -xzvf mhash-0.9.9.tar.gz
cd mhash*
./configure --enable-static=yes
make install


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a static lib from objects + static libs kovacsp Programming 2 12-19-2007 01:53 PM
link-time libs need to be run0time libs says curl's make install UniquelyAm Linux - Software 0 06-09-2007 02:40 AM
kwrite on Xfce WinMgr I want to try gccing with static libs garthur Linux - Software 0 01-08-2007 09:06 AM
mhash eth777 Programming 3 12-27-2005 06:59 AM
Qt Libs Static or Shared magicm Slackware 2 10-15-2003 06:05 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration