misty
misty copied to clipboard
OSError: cannot open shared object file: No such file or directory
Hi @raghavan97 !
Hope you are doing fine.
I have been using misty for one month and it's working on my personal laptop. But when I am trying to make it work on the another device it gives an error:
OSError: ***/****/venv/lib/python3.7/site-packages/misty/mstplib/libmstp_agent.so: cannot open shared object file: No such file or directory
How can I fix this?
Regards, Muhammad Anas Raza
very similar problem here as well. I use misty on linux desktop without any problem. But when I try to use it on raspberry pi device, I get "OSError: /*/venv/lib/python3.7/site-packages/misty/mstplib/libmstp_agent_linux.so: wrong ELF class: ELFCLASS64".
Hi,
Can you please give the output of the command : uname -a
I have a suspicion that libmstp_agent.so that comes from the package is 64bit and the raspberry is 32 bit. That might be causing this issue from the message that you shared.
In case you have gcc on your raspberry , can you please try this ?
git clone https://github.com/riptideio/misty.git cd misty/misty/mstplib make clean make cp libmstp_agent.so to the path where it was complaining ( from your mail , it seems like /venv/lib/python3.7/site- packages/misty/mstplib/libmstp_agent_linux.so)
After that start the bacnet client
Please let me know how it goes.
In case this works, I will try and have a 32 bit shared library and a 64 bit shared library as well.
Thanks.
Bye, Raghavan V
On Tue, Mar 9, 2021 at 1:32 PM sansal54 @.***> wrote:
very similar problem here as well. I use misty on linux desktop without any problem. But when I try to use it on raspberry pi device, I get "OSError: */**/venv/lib/python3.7/site-packages/misty/mstplib/libmstp_agent_linux.so: wrong ELF class: ELFCLASS64".
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/riptideio/misty/issues/9#issuecomment-793512798, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCAWYMP6VI63XVXYQSQSILTCXI2XANCNFSM4WKN5EZA .
the output of the command : uname -a is :
Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux
and when I try the steps you give, it worked.
Try running with sudo
sudo /path/to/bc --ini /path/to/ini
On Fri, Jul 30, 2021 at 10:37 AM Dhaval Vasveliya @.***> wrote:
[image: image (14)] https://user-images.githubusercontent.com/47396042/127690972-3eeae541-6eb2-4fd2-89b0-2e822dafc18c.png How can i fix this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/riptideio/misty/issues/9#issuecomment-890048787, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCAWYLYUW7CRP2YT2YR3BLT2LPN3ANCNFSM4WKN5EZA .
I am trying to run misty on OpenWRT, and getting this error, Anyone knows how to fix it?
Hi @raghavan97 , here to blow the dust of this thread. I'm using this project on a RPI and was wondering if a release could be made to support it out-of-the-box instead of having to build the libmstp_agent.so afterwards from cloned source code?