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

[tizen_iot_text_classification] libnnstreamer_protobuf.so: cannot open shared object file: No such file or directory. #173

Closed
tony-jinwoo-ahn opened this issue Sep 7, 2020 · 9 comments
Labels
Contributhon OpenSource Contributhon 2020

Comments

@tony-jinwoo-ahn
Copy link
Contributor

hello, I've built nnstreamer_tizen_iot_text_classification for ubuntu 18.04 on "RaspberryPi4B" and ubuntu 18.04 on "laptop".
I've tested using Rpi4/PC for server/client and vice versa, and got error:

$ ./nnstreamer_tizen_iot_text_classification server tensorflow-lite $MYIP $MYPORT

** (nnstreamer_tizen_iot_text_classification:4824): CRITICAL **: 23:57:48.203: Cannot open protobuf(/usr/lib/nnstreamer/decoders/libnnstreamer_decoder_protobuf.so) with error libnnstreamer_protobuf.so: cannot open shared object file: No such file or directory.

(nnstreamer_tizen_iot_text_classification:4824): GStreamer-CRITICAL **: 23:57:48.208: gst_mini_object_unref: assertion 'mini_object != NULL' failed

... and error chain...

I have a question: what package should I install exactly?
I've installed:

sudo apt install libprotobuf-dev 
sudo apt install libprotobuf-c-dev

but seems not the answer.

Thank you.

@taos-ci
Copy link
Collaborator

taos-ci commented Sep 7, 2020

:octocat: cibot: Thank you for posting issue #173. The person in charge will reply soon.

@tony-jinwoo-ahn
Copy link
Contributor Author

I've checked library installed already, and became root and tried again, but same error.

root@ubuntu:/usr/lib/nnstreamer/decoders# ls -alh
total 136K
drwxr-xr-x 2 root root 4.0K Sep  6 13:00 .
drwxr-xr-x 6 root root 4.0K Sep  3 12:55 ..
-rw-r--r-- 1 root root  32K Sep  4 12:31 libnnstreamer_decoder_bounding_boxes.so
-rw-r--r-- 1 root root  11K Sep  4 12:31 libnnstreamer_decoder_direct_video.so
-rw-r--r-- 1 root root  27K Sep  4 12:31 libnnstreamer_decoder_flatbuf.so
-rw-r--r-- 1 root root  15K Sep  4 12:31 libnnstreamer_decoder_image_labeling.so
-rw-r--r-- 1 root root  15K Sep  4 12:31 libnnstreamer_decoder_image_segment.so
-rw-r--r-- 1 root root  16K Sep  4 12:31 libnnstreamer_decoder_pose_estimation.so
-rw-r--r-- 1 root root 5.9K Sep  4 12:31 libnnstreamer_decoder_protobuf.so

libnnstreamer_decoder_protobuf.so already exists... I cannot figure out now.

@gichan-jang
Copy link
Member

gichan-jang commented Sep 8, 2020

Hello, @tony-jinwoo-ahn

  1. tizen_iot_text_classification operates on tizenIoT platform. If you want to use this app, you have to install tizenIoT platform image on your RPI4.

  2. try to install libprotobuf17

@tony-jinwoo-ahn
Copy link
Contributor Author

Thank you, @gichan-jang
I installed those you suggested on my Rpi and PC, but still same error.
anyway, thank you for your comment.

@gichan-jang
Copy link
Member

gichan-jang commented Sep 8, 2020

@tony-jinwoo-ahn
You need to install nnstreamer-protobuf
But there is conflict between nnstreamer and nnstreamer-protobuf. I will fix it.

@tony-jinwoo-ahn
Copy link
Contributor Author

thank you. I would try sudo apt install nnstreamer-protobuf after the conflict is fixed.

@gichan-jang
Copy link
Member

@tony-jinwoo-ahn
nnstreamer-protobuf package conflict has been resolved.

@tony-jinwoo-ahn
Copy link
Contributor Author

thank you!! 👍

@tony-jinwoo-ahn
Copy link
Contributor Author

I tested and it's fixed OK.
I don't need to do "sudo apt install nnstreamer-protobuf".
I re-installed nnstreamer and it works OK.

@dongju-chae dongju-chae added the Contributhon OpenSource Contributhon 2020 label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributhon OpenSource Contributhon 2020
Projects
None yet
Development

No branches or pull requests

4 participants