Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find zbar shared library #7

Open
Marcello-Bentivoglio opened this issue Aug 16, 2024 · 0 comments
Open

Unable to find zbar shared library #7

Marcello-Bentivoglio opened this issue Aug 16, 2024 · 0 comments

Comments

@Marcello-Bentivoglio
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant