Gary - 2008-12-15

running mcrypt configure on FreeBSD I get:

checking for mhash_keygen in -lmhash... no
configure: error: "You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/"

I have installed libmhash 0.9.8.9.

ldconfig -r shows:

139:-lmhash.2 => /usr/local/lib/libmhash.so.2

  • and in my environment -
    LD_LIBRARY_PATH=/usr/local/lib

which is where libmhash was installed. These were the previous suggestions to fix this I found on Google but none worked.

How do I fix this so I can build mcrypt?

Thank you for any assistance you can provide.