Comments (1)
Appears clamav requires a new dependency...
If you append libtasn1
to line 25 in build.sh and add rpm2cpio libtasn1*.rpm | cpio -vimd
after line 51 it takes care of the issue. Builds without error and produces a mostly functional AWS Lambda layer.
However, it looks like clamav still can't see a config file and appears to reach for the wrong binary path?
ERROR: Can't open/parse the config file /etc/freshclam.conf
LibClamAV Error: cl_load(): No such file or directory: /var/lib/clamav
ERROR: Can't get file status
The scan "runs" but without any definitions and basically gives a nil but passing result for the scan.
----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.103.0
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.017 sec (0 m 0 s)
Start Date: 2021:04:14 00:16:01
End Date: 2021:04:14 00:16:01
Any idea how to proceed?
from lambda-clamav-layer.
Related Issues (9)
- Fresh Clam Error
- Question: Build output file size HOT 1
- Build Not working HOT 7
- Dependency issues running ClamAV v102 HOT 3
- LibClamAV Error: cl_load(): No such file or directory: /var/lib/clamav HOT 3
- segmentation fault (core dumped)
- centos rpm is a dead link HOT 1
- freshclam complaining about glibc libraries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lambda-clamav-layer.