[clamav-users] Error loading libfreshclam.so.2 with ClamAV 102.1

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Jan 17 18:39:48 UTC 2020


>> On 17.01.20 12:25, Bowie Bailey wrote:
>>> I just upgraded from ClamAV 101.4 to 102.1 on CentOS 7.4.  Clam runs fine (through
>>> avfilter for Courier), but when I run freshclam, I get an error:
>>>
>>> # freshclam
>>> freshclam: error while loading shared libraries: libfreshclam.so.2: cannot open
>>> shared object file: No such file or directory
>>>
>>> # ll /usr/local/lib64/libfreshclam.*
>>> -rwxr-xr-x. 1 root root   1134 Jan 17 12:01 /usr/local/lib64/libfreshclam.la
>>> lrwxrwxrwx. 1 root root     21 Jan 17 12:01 /usr/local/lib64/libfreshclam.so ->
>>> libfreshclam.so.2.0.0
>>> lrwxrwxrwx. 1 root root     21 Jan 17 12:01 /usr/local/lib64/libfreshclam.so.2 ->
>>> libfreshclam.so.2.0.0
>>> -rwxr-xr-x. 1 root root 481680 Jan 17 12:01 /usr/local/lib64/libfreshclam.so.2.0.0

>On 1/17/2020 1:03 PM, Matus UHLAR - fantomas wrote:
>> uninstall system version of clamav.
>>
>> or, better, uninstall your version of clamav and get one from repository
>> that provides current clamav for centos7

On 17.01.20 13:11, Bowie Bailey wrote:
>I don't have a system version of clamav.
>
>I had 101.4 installed and working (compiled from source).  I downloaded 102.1 from
>clamav.net and built it using the standard build procedure.  I have installed clam
>this way for years without any problems.

was the 0.101.4 installed the same way as 0.102.1 ? Did you uninstall it before
installing 0.102.1?

there may be problem in the sandard build process of 0.102.1 for centos
try running ldd `which freshclam` and it should show where it searches for
libfreshclam

however, I prefer using installing from sane package maintainers.
I don't know how does the redhat (and thus centos) clamav support work, but
Debians's usually works perfectly

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
REALITY.SYS corrupted. Press any key to reboot Universe.



More information about the clamav-users mailing list