-
Notifications
You must be signed in to change notification settings - Fork 5
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
OSError: cannot open shared object file: No such file or directory #9
Comments
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
<#9 (comment)>, 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
<#9 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCAWYLYUW7CRP2YT2YR3BLT2LPN3ANCNFSM4WKN5EZA>
.
|
Hi @raghavan97 , here to blow the dust of this thread. |
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
The text was updated successfully, but these errors were encountered: