Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Cant find library and locate the .so file #154

Open
Johsamue opened this issue Apr 26, 2021 · 6 comments
Open

Cant find library and locate the .so file #154

Johsamue opened this issue Apr 26, 2021 · 6 comments

Comments

@Johsamue
Copy link

Hi, I have an PYNQ image v2.4 and have cloned this repo, but cant run the 3thed step:

I get this error but when I go there I can see the file and its executable, do I need to set a path or how do I solve the error?

OSError: cannot load library '/usr/local/lib/python3.6/dist-packages/bnn/libraries/pynqZ1-Z2/python_hw-cnvW1A1-pynqZ1-Z2.so': /usr/local/lib/python3.6/dist-packages/bnn/libraries/pynqZ1-Z2/python_hw-cnvW1A1-pynqZ1-Z2.so: undefined symbol: cma_alloc. Additionally, ctypes.util.find_library() did not manage to locate a library called '/usr/local/lib/python3.6/dist-packages/bnn/libraries/pynqZ1-Z2/python_hw-cnvW1A1-pynqZ1-Z2.so'

@giuliogamba
Copy link
Contributor

Hi, on which board are you executing this?

@Johsamue
Copy link
Author

On a Pynq Z2 board

@giuliogamba
Copy link
Contributor

Did you install the package using pip (as in the quick start) or just cloned the repo? In order to execute the available jupyter notebooks on the board you should install the package.

@Johsamue
Copy link
Author

Yes I followed the quick start and did pip install, found bnn in my jupiter notebook.

@giuliogamba
Copy link
Contributor

Are you executing one of the jupyter notebooks or you're experiencing this issue in new code? If it's in a new codebase, are you importing the bnn library (import bnn) and experiencing the error during import?

@giuliogamba
Copy link
Contributor

@Johsamue do you have any update? Is the issue fixed?

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

No branches or pull requests

2 participants