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

SegFault issue on build #8

Open
ArchitB22976 opened this issue Nov 8, 2022 · 2 comments
Open

SegFault issue on build #8

ArchitB22976 opened this issue Nov 8, 2022 · 2 comments

Comments

@ArchitB22976
Copy link

Hi, I've run into a problem when building the minimal example:
image

To clarify, I cloned this repo into a relatively cleaned up Raspberry Pi 4 B (aarch64), so I didn't have anything related to TF Lite or Edgetpu runtime installed on the board, prior to building the minimal program.

@Namburger
Copy link
Owner

Namburger commented Nov 8, 2022

Hello, most likely because the binary couldn't find libedgetpu. Did try doing the export?

export LD_LIBRARY_PATH=${PROJECT_PATH}/libedgetpu/direct/aarch64

Which should tell the binary to find share objects in this folder: https://github.com/Namburger/edgetpu-minimal-example/tree/master/libedgetpu/direct/aarch64

@ArchitB22976
Copy link
Author

ArchitB22976 commented Nov 8, 2022

Ah, I should have taken a better screenshot. But yes, I did use that instruction as well. Basically, I've made sure to follow the instructions laid out in the readme file to the letter. I've also seen issues that were mentioning this exact issue (I think it was the person doing this in python).

AFAIK, the version of the tflite build and the libedgetpu should be compatible since I haven't touched any of the make files or shellscript files in this repo, so it shouldn't be a compatibility issue either.

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

2 participants