Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've installed ClamTK via sudo apt-get install clamtk then realised it's outdated and purged clamtk. Then compiled clamav from source from the latest release following the instructions here

When I go to run sudo freshclam I get

renamon@Gibson{~/Desktop/clamav-0.98.3}:sudo freshclam
ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf

And clamscan -r / gives me

renamon@Gibson{~/Desktop/clamav-0.98.3}:sudo clamscan -r /
LibClamAV Error: cl_load(): No such file or directory: /usr/local/share/clamav
ERROR: Can't get file status

----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.98.3
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.000 sec (0 m 0 s)

Any help on the issue?

share|improve this question
Does /usr/local/share/clamav exist? –  Seth May 10 at 2:31
No it does not :( What have I done wrong? –  Renamon Toast Crunch May 10 at 2:36
You probably didn't install a dependency. Lets see. –  Seth May 10 at 2:37
What instructions did you follow to install? –  Seth May 10 at 2:38
./configure make sudo make install sudo ldconfig –  Renamon Toast Crunch May 10 at 2:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.