motion.so not found error ...

  • MusicCityMfg
  • MusicCityMfg's Avatar Topic Author
  • Online
  • New Member
  • New Member
More
01 Nov 2025 19:17 - 01 Nov 2025 19:29 #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: 01 Nov 2025 19:29 by MusicCityMfg.

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

More
01 Nov 2025 19:26 #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.

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
01 Nov 2025 19:31 - 01 Nov 2025 19:31 #337669 by Hakan
Replied by Hakan on topic motion.so not found error ...
The name is motmod.so
 
Last edit: 01 Nov 2025 19:31 by Hakan.
The following user(s) said Thank You: MusicCityMfg

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

More
01 Nov 2025 19:36 #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
  • MusicCityMfg's Avatar Topic Author
  • Online
  • New Member
  • New Member
More
01 Nov 2025 19:38 #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.
Attachments:

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

  • MusicCityMfg
  • MusicCityMfg's Avatar Topic Author
  • Online
  • New Member
  • New Member
More
01 Nov 2025 19:41 #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.

Time to create page: 0.200 seconds
Powered by Kunena Forum