1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: Look for libmhash.so.2, not libmhash.so.
The libmhash.so file is usually just a symlink installed by
the development package so that the build-time linker can find
the proper shared object to look symbols up in and to record
the SONAME into the executable file. On most Linux distributions
that make a distinction between development packages and shared
library packages, it is very unlikely that a *.so file will exist
at runtime.
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2018-07-22
--- a/hashing.c
+++ b/hashing.c
@@ -86,7 +86,7 @@
if (initialized)
return;
initialized = 1;
- LibMhash = dlopen("libmhash.so",RTLD_NOW);
+ LibMhash = dlopen("libmhash.so.2",RTLD_NOW);
if (LibMhash) {
debugmsg("found libmhash\n");
mhash_init = (void *(*)(int)) dlsym(LibMhash,"mhash_init");
|