Code Monkey home page Code Monkey logo

Comments (4)

c-goosen avatar c-goosen commented on August 19, 2024

{
"errorMessage": "[Errno 2] No such file or directory: 'ld'",
"errorType": "FileNotFoundError",
"requestId": "1e03148a-d95c-47df-9ea5-238b567cb126",
"stackTrace": [
" File "/var/task/update.py", line 27, in lambda_handler\n clamav.update_defs_from_freshclam(AV_DEFINITION_PATH, CLAMAVLIB_PATH)\n",
" File "/var/task/clamav.py", line 87, in update_defs_from_freshclam\n ":".join(current_library_search_path()),\n",
" File "/var/task/clamav.py", line 32, in current_library_search_path\n ld_verbose = check_output(["ld", "--verbose"])\n",
" File "/var/lang/lib/python3.9/subprocess.py", line 424, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n",
" File "/var/lang/lib/python3.9/subprocess.py", line 505, in run\n with Popen(*popenargs, **kwargs) as process:\n",
" File "/var/lang/lib/python3.9/subprocess.py", line 951, in init\n self._execute_child(args, executable, preexec_fn, close_fds,\n",
" File "/var/lang/lib/python3.9/subprocess.py", line 1821, in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\n"
]
}

from lambda-s3-bucket-clamav.

StuShepherd avatar StuShepherd commented on August 19, 2024

Hi @c-goosen, did you ever resolve this? New to trying this setup and hitting this exact error today. Thanks

from lambda-s3-bucket-clamav.

c-goosen avatar c-goosen commented on August 19, 2024

@StuShepherd this might help, I created a dockerfile that we use in our lambda functions: #9

from lambda-s3-bucket-clamav.

c-goosen avatar c-goosen commented on August 19, 2024

@StuShepherd I had to update my Dockerfile, and made a PR: #9. Note that we launch it in Lambda via ECR. Everything is in the dockerfile already.

from lambda-s3-bucket-clamav.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.