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

Inference Engine cannot find ie_api.so #13592

Closed
2 tasks
trinhgiahuy opened this issue Oct 21, 2022 · 6 comments · Fixed by #14226
Closed
2 tasks

Inference Engine cannot find ie_api.so #13592

trinhgiahuy opened this issue Oct 21, 2022 · 6 comments · Fixed by #14226
Labels
platform: arm OpenVINO on ARM / ARM64 support_request

Comments

@trinhgiahuy
Copy link

System information (version)
  • OpenVINO=> 2022.2.0
  • Operating System / Platform => Ubuntu 20.04 LTS Server from Rasberry Pi Imager
  • Compiler => gcc 9.4.0
  • Python => 3.8
Detailed description
Steps to reproduce

I installed OpenVINO toolkit l_openvino_toolkit_ubuntu20_2022.2 and setup variable. However when I tried to import inference_engine from openvino it yields ie_api.so: cannot open shared object file: No such file or directory although the file is there.

I also add /opt/intel/openvino/ubun20/l_openvino_toolkit_ubuntu20_2022.2.0.7713.af16ea1d79a_x86_64/python/python3.8/openvino/inference_engine to $LD_LIBRARY_PATH but without luck. Any idea how can I solve it

image

Issue submission checklist
  • I report the issue, it's not a question
  • [ ✔️ ] I checked the problem with documentation, FAQ, open issues, Stack Overflow, etc and have not found solution
  • There is reproducer code and related data files: images, videos, models, etc.
@trinhgiahuy trinhgiahuy added bug Something isn't working support_request labels Oct 21, 2022
@ilya-lavrenov
Copy link
Contributor

Ubuntu 20.04 LTS Server from Rasberry Pi Imager

Is it ARM platform?

@trinhgiahuy
Copy link
Author

trinhgiahuy commented Oct 21, 2022

Yes it does. Is it possible to install from source for Raspberry Pi 3b as I cannot see in supported device list - only Raspberry Pi 4) or should I cross compile for ARM using Docker as this issue #8343

Sorry I am newbie to this.

@ilya-lavrenov
Copy link
Contributor

ilya-lavrenov commented Oct 21, 2022

From the l_openvino_toolkit_ubuntu20_2022.2.0.7713.af16ea1d79a_x86_64 I see you have downloaded a package for x86_64. I suggest trying l_openvino_toolkit_debian9_arm_2022.2.0.7713.af16ea1d79a_armhf.tgz from here, because you need ARM binaries.

I suppose you have 32 bits OS?

@trinhgiahuy
Copy link
Author

trinhgiahuy commented Oct 21, 2022

Hello ilya-lavrenov it is 64 bits OS

pi@pi:~$ uname -a
Linux pi 5.4.0-1073-raspi #84-Ubuntu SMP PREEMPT Sat Oct 15 11:13:36 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
pi@pi:~$ uname -i
aarch64

@avitial avitial added platform: arm OpenVINO on ARM / ARM64 and removed bug Something isn't working labels Oct 21, 2022
@trinhgiahuy
Copy link
Author

trinhgiahuy commented Oct 28, 2022

Hello, I reinstall raspbian stretch (raspbian9) and use l_openvino_toolkit_runtime_raspbian_p_2021.4.582 from this but when I got unsupported os

pi@raspberrypi:~/debian/l_openvino_toolkit_runtime_raspbian_p_2021.4.582 $ ls
bin  deployment_tools  documentation  inference_engine  install_dependencies  licensing  opencv  python
pi@raspberrypi:~/debian/l_openvino_toolkit_runtime_raspbian_p_2021.4.582 $ cd install_dependencies/
pi@raspberrypi:~/debian/l_openvino_toolkit_runtime_raspbian_p_2021.4.582/install_dependencies $ ls
install_NCS_udev_rules.sh  install_NEO_OCL_driver.sh  install_guide.html  install_openvino_dependencies.sh  neo_centos_19.41.14441.sum  neo_centos_20.35.17767.sum
pi@raspberrypi:~/debian/l_openvino_toolkit_runtime_raspbian_p_2021.4.582/install_dependencies $ sudo -E ./install_openvino_dependencies.sh 
Unsupported OS: raspbian9

@ilya-lavrenov
Copy link
Contributor

Hello, I reinstall raspbian stretch (raspbian9) and use l_openvino_toolkit_runtime_raspbian_p_2021.4.582 from this but when I got unsupported os

pi@raspberrypi:~/debian/l_openvino_toolkit_runtime_raspbian_p_2021.4.582 $ ls
bin  deployment_tools  documentation  inference_engine  install_dependencies  licensing  opencv  python
pi@raspberrypi:~/debian/l_openvino_toolkit_runtime_raspbian_p_2021.4.582 $ cd install_dependencies/
pi@raspberrypi:~/debian/l_openvino_toolkit_runtime_raspbian_p_2021.4.582/install_dependencies $ ls
install_NCS_udev_rules.sh  install_NEO_OCL_driver.sh  install_guide.html  install_openvino_dependencies.sh  neo_centos_19.41.14441.sum  neo_centos_20.35.17767.sum
pi@raspberrypi:~/debian/l_openvino_toolkit_runtime_raspbian_p_2021.4.582/install_dependencies $ sudo -E ./install_openvino_dependencies.sh 
Unsupported OS: raspbian9

You don't have to run this script for Raspbian OS. OpenVINO can work without those dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: arm OpenVINO on ARM / ARM64 support_request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants