Hello, I am trying to run the snpe-net-run program on a Snapdragon flight. However, when I follow the tutorial found in the docs folder to move the program to the snapdragon, and run it I get the following error:
root@linaro-developer:/data/local/tmp/snpeexample/arm-android-gcc4.9/bin# ./snpe-sample -h
bash: ./snpe-sample: No such file or directory
The program is infact in the said directory, and I followed the steps of moving over all the .so's to the lib folder. I have also changed the permissions of the program to be executable, however the same issue happens.
I do not understand why this error is happening or how to fix it. Any help or insight would be greatly apprectiated.
Hi,
it is possible that it is related to dynamic loading of requried depenencies, like libSNPE.so.
First, I would check that LD_LIBRARY_PATH has path to directory that has libSNPE.so.
Second, the following stackoverflow topic may be related, so check if it can help in your case: https://stackoverflow.com/questions/3949161/no-such-file-or-directory-bu...
BTW, just noticed that your command is calling snpe-sample while title of the topic refers to snpe-net-run. Please double check.
Best regards.
Thank you for getting back to me.
Here is where LD_LIBRARY_PATH points:
and here is the contents of /data/local/tmp/snpeexample/arm-android-gcc4.9/lib
So the LD_LIBRARY_PATH is definitely a directory which contains libSNPE.so. I checked out the stackoverflow topic, the results of running ldd are
I am doing research into what this means, however, any help you can provide would be greatly appreciated.
As to the command calling snpe-example your right, that error did come from when I was trying to run snpe-example, I accidently copied that one not reading which one it really was. I thought maybe one that I compiled on my computer would behave differently than the snpe-net-run. However snpe-net-run and snpe-example produces the same error. The actual snpe-net-run is pasted below followed by the contents of /data/local/tmp/snpeexample/arm-android-gcc4.9/bin/, which clearly shows snpe-net-run is infact there.
Again thank you so much for your help, it is greatly appreciated!
Hello,
Did you manage to resolve the error regarding snpe-net-run not being found?
I have successfully copied the shared libraries accross to my RB5 development kit (which uses a QRB5165 SOM)
but I'm getting the following:
Let me know if you have any suggestions, any ideas are welcome. Thank you in advance.
[SOLVED]
For future reference:
The RB5 development kit (which uses a QRB5165 SOM) requires an Aarch64 Linux architecture, not an Android one, so use, for example
instead of the example's
Hello,
Why would aarch64-oe-linux-gcc9.3 fail with the below error on the RB5?
Thanks
This issue was solved?
This is the error I have (LE QCS610).
snpe-net-run: /lib/libm.so.6: version `GLIBC_2.29' not found (required by snpe-net-run)
snpe-net-run: /lib/libc.so.6: version `GLIBC_2.33' not found (required by snpe-net-run)
snpe-net-run: /lib/libc.so.6: version `GLIBC_2.34' not found (required by snpe-net-run)
snpe-net-run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by snpe-net-run)
snpe-net-run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by snpe-net-run)
snpe-net-run: /lib/libm.so.6: version `GLIBC_2.29' not found (required by /data/local/tmp/snpeexample/aarch64-oe-linux-gcc11.2/bin/../lib/libSNPE.so)
snpe-net-run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /data/local/tmp/snpeexample/aarch64-oe-linux-gcc11.2/bin/../lib/libSNPE.so)
snpe-net-run: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /data/local/tmp/snpeexample/aarch64-oe-linux-gcc11.2/bin/../lib/libSNPE.so)
snpe-net-run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /data/local/tmp/snpeexample/aarch64-oe-linux-gcc11.2/bin/../lib/libSNPE.so)
snpe-net-run: /lib/libc.so.6: version `GLIBC_2.32' not found (required by /data/local/tmp/snpeexample/aarch64-oe-linux-gcc11.2/bin/../lib/libSNPE.so)
snpe-net-run: /lib/libc.so.6: version `GLIBC_2.34' not found (required by /data/local/tmp/snpeexample/aarch64-oe-linux-gcc11.2/bin/../lib/libSNPE.so)
snpe-net-run: /lib/libc.so.6: version `GLIBC_2.33' not found (required by /data/local/tmp/snpeexample/aarch64-oe-linux-gcc11.2/bin/../lib/libSNPE.so)