Skip to content

Unable to find zbar shared library #7

@ghost

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.

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