- Posts: 10
- Thank you received: 0
motion.so not found error ...
- MusicCityMfg
- Topic Author
- Offline
- New Member
-
Less
More
11 months 4 weeks ago #337666
by MusicCityMfg
motion.so not found error ... was created by MusicCityMfg
I have installed LinuxCNC ver 2.9.7 including linuxcnc-uspace. LinuxCNC seems to be running fine.
I'm trying to learn HAL and coded "loadrt motion" in my playground HAL file.
When I open my playground config in LinuxCNC, I keep getting the error: "motion: dlopen: /usr/lib/linuxcnc/modules/motion.so: cannot open shared object file: No such file or directory"
When I run "dpkg -l | grep linuxcnc", I see: "ii linuxcnc-uspace 1:2.9.7 amd64 motion controller for CNC machines and robots"
When I view the "/usr/lib/linuxcnc/modules" directory there is a "motmod.so" file but no "motion.so" file.
It is my understanding that motmod.so was part of LinuxCNC v2.8 and older and motion.so is part of LinuxCNC v2.9 and up.
I am a new to and just learning LinuxCNC as I prepare for a manual lathe CNC conversion.
Am I doing something wrong? Is there an issue with my LinuxCNC install?
Thanks!
I'm trying to learn HAL and coded "loadrt motion" in my playground HAL file.
When I open my playground config in LinuxCNC, I keep getting the error: "motion: dlopen: /usr/lib/linuxcnc/modules/motion.so: cannot open shared object file: No such file or directory"
When I run "dpkg -l | grep linuxcnc", I see: "ii linuxcnc-uspace 1:2.9.7 amd64 motion controller for CNC machines and robots"
When I view the "/usr/lib/linuxcnc/modules" directory there is a "motmod.so" file but no "motion.so" file.
It is my understanding that motmod.so was part of LinuxCNC v2.8 and older and motion.so is part of LinuxCNC v2.9 and up.
I am a new to and just learning LinuxCNC as I prepare for a manual lathe CNC conversion.
Am I doing something wrong? Is there an issue with my LinuxCNC install?
Thanks!
Please Log in to join the conversation.
11 months 4 weeks ago #337668
by rodw
Replied by rodw on topic motion.so not found error ...
All the Sims work on 2.97 so I suspect the issue is in your hal file. share it and we can look or compare with one of the Sims.
Please Log in to join the conversation.
11 months 4 weeks ago #337669
by Hakan
Replied by Hakan on topic motion.so not found error ...
The name is motmod.so
Please Log in to join the conversation.
11 months 4 weeks ago #337671
by Aciera
Replied by Aciera on topic motion.so not found error ...
'motion' is not a hal component so you cannot and need not load it in hal.
Please Log in to join the conversation.
- MusicCityMfg
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
11 months 4 weeks ago #337672
by MusicCityMfg
Replied by MusicCityMfg on topic motion.so not found error ...
Thank you, attached is my HAL file.All the Sims work on 2.97 so I suspect the issue is in your hal file. share it and we can look or compare with one of the Sims.
Please Log in to join the conversation.
- MusicCityMfg
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
11 months 4 weeks ago #337673
by MusicCityMfg
Replied by MusicCityMfg on topic motion.so not found error ...
Thank you @Aviera and @Hakan! I will try that.
Please Log in to join the conversation.
11 months 4 weeks ago #337704
by rodw
Replied by rodw on topic motion.so not found error ...
Review this working hal file against yours
github.com/rodw-au/showstopper/blob/master/my_Plasma.hal
nowhere is there a loadrt motion command
github.com/rodw-au/showstopper/blob/master/my_Plasma.hal
nowhere is there a loadrt motion command
Please Log in to join the conversation.
- MusicCityMfg
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
11 months 4 weeks ago #337743
by MusicCityMfg
Replied by MusicCityMfg on topic motion.so not found error ...
Thanks for reviewing my HAL file. So I learned that there is no "motion" component. Instead, it is the "motmod" component I should be trying to load.
My bigger mistake was trying to code a HAL file by hand from scratch. I learned that I can use LinuxCNC to create a configuration which generates the ".ini" and ".hal" files. And then I can modify those if they require any other changes.
Like I said in my earlier post, I'm just learning LinuxCNC now. And on top of that, I'm trying to understand HAL, and what Mesa cards I need to buy, and what components I need for the lathe CNC conversion. I am drinking from a fire hose!
Thanks again for your help!
My bigger mistake was trying to code a HAL file by hand from scratch. I learned that I can use LinuxCNC to create a configuration which generates the ".ini" and ".hal" files. And then I can modify those if they require any other changes.
Like I said in my earlier post, I'm just learning LinuxCNC now. And on top of that, I'm trying to understand HAL, and what Mesa cards I need to buy, and what components I need for the lathe CNC conversion. I am drinking from a fire hose!
Thanks again for your help!
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
11 months 4 weeks ago #337744
by tommylight
Replied by tommylight on topic motion.so not found error ...
That is never a mistake, it hugely pays off later and makes things ... well, simple.My bigger mistake was trying to code a HAL file by hand from scratch.
Isn't it refreshing !I am drinking from a fire hose!
Please Log in to join the conversation.
Time to create page: 0.095 seconds
