LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-30-2008, 11:20 AM   #1
randyvalpobb
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, 03:59 PM   #2
seraphim172
Member
 
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 04:44 AM.
 
Old 05-31-2008, 08:24 AM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

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


Reply


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 12:53 PM
link-time libs need to be run0time libs says curl's make install UniquelyAm Linux - Software 0 06-09-2007 01:40 AM
kwrite on Xfce WinMgr I want to try gccing with static libs garthur Linux - Software 0 01-08-2007 08:06 AM
mhash eth777 Programming 3 12-27-2005 05:59 AM
Qt Libs Static or Shared magicm Slackware 2 10-15-2003 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 AM.

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