motion.so not found error ...

  • MusicCityMfg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 day ago - 1 year 1 day 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!
Last edit: 1 year 1 day ago by MusicCityMfg.

Please Log in or Create an account to join the conversation.

More
1 year 1 day 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.
The following user(s) said Thank You: MusicCityMfg

Please Log in or Create an account to join the conversation.

More
1 year 1 day ago - 1 year 1 day ago #337669 by Hakan
Replied by Hakan on topic motion.so not found error ...
The name is motmod.so
 
Last edit: 1 year 1 day ago by Hakan.
The following user(s) said Thank You: MusicCityMfg

Please Log in or Create an account to join the conversation.

More
1 year 1 day 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.
The following user(s) said Thank You: MusicCityMfg

Please Log in or Create an account to join the conversation.

  • MusicCityMfg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 day ago #337672 by MusicCityMfg
Replied by MusicCityMfg 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.
 
Thank you, attached is my HAL file.

Please Log in or Create an account to join the conversation.

  • MusicCityMfg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 day 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 or Create an account to join the conversation.

More
1 year 1 day 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
The following user(s) said Thank You: MusicCityMfg

Please Log in or Create an account to join the conversation.

  • MusicCityMfg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 15 hours ago - 1 year 15 hours 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!
Last edit: 1 year 15 hours ago by MusicCityMfg.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
1 year 15 hours ago #337744 by tommylight
Replied by tommylight on topic motion.so not found error ...

My bigger mistake was trying to code a HAL file by hand from scratch.
That is never a mistake, it hugely pays off later and makes things ... well, simple.

I am drinking from a fire hose!
Isn't it refreshing ! :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum