Hello everyone,
I am backporting 0.96.4 to debian etch (in a rather brutal but effective
way: downloaded Etch source package and overwritten sources in there
with 0.96.4 sources). I have managed to build working packages, but a
strange problem cropped up:
LibClamAV Warning: Cannot dlopen libclamunrar_iface: file not found -
unrar support unavailable
Now I HAVE linked libclamunrar.so* in /usr/lib. It doesn't help, because
when I strace clamd I get this:
open("/lib/tls/i686/cmov/libclamunrar_iface.a", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/tls/i686/libclamunrar_iface.a", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/lib/tls/libclamunrar_iface.a", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/libclamunrar_iface.a", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/cmov/libclamunrar_iface.a", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/i686/libclamunrar_iface.a", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/libclamunrar_iface.a", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/i486-linux-gnu/libclamunrar_iface.a", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/i486-linux-gnu/libclamunrar_iface.a", O_RDONLY) = -1
ENOENT (No such file or directory)
munmap(0xb7233000, 65470) = 0
write(2, "LibClamAV Warning: Cannot dlopen"..., 96LibClamAV Warning:
Cannot dlopen libclamunrar_iface: file not found - unrar support unavailable
) = 96
Apparently clamd is trying to open .a library instead of .so.
The problem is I have no idea how to make clamd use .so instead - where
do I tune that in the build process? I can change flags to configure or
settings in makefiles, but I don't know which ones and how to do that.
Help appreciated!
--
Regards,
mk
--
Premature optimization is the root of all fun.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml