Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Unable to find zbar shared library #7

Description

I'm trying to use this repository to create a layer for using pyzbar for QR code detection in an AWS Lambda function. My layer already includes other dependencies like Tesseract and OpenCV, and it is structured as follows:

|-bin
|---- tesseract
|
|-lib
|---- libgomp.so.1
|---- ......
|
|-python
|----lib
|--------python3.8
|------------site-packages
|----------------some dependency
|
|-tesseract
|----Some tessdata files

I installed the pyzbar package inside python/lib/python3.8/site-packages and added the zbar folder that I downloaded from your repository into the /lib directory. However, I keep encountering the following error:

Unable to find zbar shared library...
The same issue occurs when I add the layer from S3. I am currently working with the Serverless framework.

Could you help me resolve this issue? Any guidance would be greatly appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions