Hello Gentlemen, Thank you for the guidance. In the end it looks like the problem was that the linuxcnc bash script was not setup to respect any RIP settings and had the paths hardcoded to the root /usr directory.
I had to update the first part of the script to check for the EMC2_HOME environment variable, and if it existed set the paths accordingly. My updated linuxcnc executable is at the following gist: https://gist.github.com/rehelmin/74992200458a1ec0468654dc176bd4b2 Best Regards, Ryan On Wednesday, May 29, 2019 at 6:16:08 AM UTC-5, Schooner wrote: > > Can you attach your copy of the linuxcnc script. > > That is where a lot of paths are set, the rpath looks like the path for an > install, not a RIP. > > On 29/05/19 05:20, Ryan Helminen wrote: > > Hello, > > I am wondering how to get the mkwrapper approach to using QtQuickVCP to > respect RIP environment variables so that the correct environment is > loaded. From what I can tell the run.py script that I am using detects the > RIP environment variables, but for some reason that isn't getting > communicated during the call to the linuxcnc executable. > > I have a custom build that includes a bipodkins RT module and when I try > to start things up using the attached python script I get the following > error message: > > bipodsim.hal:5: insmod failed, returned -1: >> do_load_cmd: dlopen: bipodkins.so: cannot open shared object file: No >> such file or directory >> rpath=/usr/lib/linuxcnc/rt-preempt >> > > The rpath that is referenced is *not *the path to the RIP files. I have > tested that RIP is correctly setup by manually running halrun and doing a > loadrt bipodkins which works as expected. > > Does anyone have any tips on how I can force mkwrapper to correctly use > the RIP environment that I have configured? > > Thanks much, > Ryan > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > Visit this group at https://groups.google.com/group/machinekit. > To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/6844b1f8-9718-4d8d-b022-1b7ef1d5dc49%40googlegroups.com > > <https://groups.google.com/d/msgid/machinekit/6844b1f8-9718-4d8d-b022-1b7ef1d5dc49%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/612543e1-6bed-49bd-a0b8-6e834f348bcd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
