Brian Morrison wrote: > Brian Morrison wrote: >> Brian Morrison wrote: >> >>> OK, I'll do that if I can't resolve it. >>> >>> I've checked that there are no old libclamav* files anywhere, they are >>> only in /usr/lib/, I've also checked that ld.so.conf is sane, and indeed >>> it is the only relevant paths are /usr/lib and /usr/local/lib in that order. >>> >>> I'm wondering if somehow the older libclamunrar* files are not being >>> overwritten, but I can't see why that would happen. >>> >> Right, I've checked some more things out: >> >> The relocation error is complaining that rarvm_free is not a symbol in >> libclamav.so.4 >> >> If I check for any rarvm* symbol in libclamav.so.4 there are none shown, so: >> >> nm /usr/lib/libclamav.so.4 | grep rarvm >> >> returns nothing, however: >> >> nm /usr/lib/libclamunrar.so.4 | grep rarvm >> >> does find rarvm_free and a lot of other rarvm* symbols. >> >> libclamav.so.4.0.1, libclamunrar.so.4.0.1 and >> libclamunrar_iface.so.4.0.1 are all in /usr/lib >> >> Any ideas what's happening, should there be rar_vm* symbols in >> libclamav.so.4.0.1? >> > > But ldd /usr/sbin/clamd says "Not a dynamic executable". > > That's whether built with rpm or the ./configure && make method. >
No, scratch that last comment. I was looking in the wrong place in the build directory. The actual problem is clamd has not linked in the libclamunrar* libraries at all, or libz.so.1, libbz2.so.1 and libgmp.so.3, so there is a problem that stops the same .spec file as 0.92.1 working in 0.93. I'm going to check the result of a manual build with no additional stuff passed to configure. But I think I need --enable-experimental to get the libclamunrar stuff don't I? Well in any case, I have now tried this on RH9 (gcc 3.2.2) and Fedora 7 (gcc 4.1.2), and the result is that a configure && make (with or without --enable-experimental) results in a clamd executable that does not link in either libclamunrar* library or libz.so.1, libbz2.so.1 and libgmp.so.3, but libclamav.so does link in libclamunrar.so and libclamunrar_iface.so. Same result on both, looks like some sort of makefile bug to me. Trying to enter this in bugzilla, but login is screwed for me just now. -- Brian _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
