How about libmhash-devel?
google is saying that there are some people having problems with libmhash
later than 0.8.18. I suggest 0.8.17.




> Great all,
>
> my system : slackware 10, kernel 2.4.26
> I am get error with libmhash when trying to build aide-0.10, error msg
> as folow :
> <snip>
> checking for mhash_get_block_size in -lmhash... no
> configure: error: You must have libmhash properly installed.
> </snip>
>
> I have success to install libmhash -0.9.1 in /usr/local/lib
> # ls -l /usr/local/lib
> -rwxr-xr-x  1 root root    703 2004-10-04 11:50 libmhash.la*
> lrwxrwxrwx  1 root root     17 2004-10-04 11:50 libmhash.so ->
> libmhash.so.2.0.0*
> lrwxrwxrwx  1 root root     17 2004-10-04 11:50 libmhash.so.2 ->
> libmhash.so.2.0.0*
> -rwxr-xr-x  1 root root 352487 2004-10-04 11:50 libmhash.so.2.0.0*
>
> th folder /usr/local/lib already added to my /etc/ld.so.conf and
> ldconfig -v | grep libmhash give me result :
> # ldconfig -v | grep libmhash
>         libmhash.so.2 -> libmhash.so.2.0.0
>         libmhash.so.2 -> libmhash.so.2.0.0
> Here is stripped my aide's config.log
> -----
> configure:3208: checking for mhash_get_block_size in -lmhash
> configure:3227: gcc -o conftest -g -O2 -static
> -I/mnt/hda3/download/aide-0.10 -I/mnt/hda3/download/aide-0.10/src
> -static  conftest.c -lmhash  -lz  1>&5
> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld:
> cannot find -lmhash
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 3216 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char mhash_get_block_size();
>
> int main() {
> mhash_get_block_size()
> ; return 0; }
> [EMAIL PROTECTED]:/mnt/hda3/download/aide-0.10#
>
> --------
>
> after searched on Google I found a solution is doing ./configure with
> --enable-static=yes option but still out of luck
>
> Does anyone can help me solve this ?
>
> TIA,
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
> more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> VietLUG-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/vietlug-users
>



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho