Am 20.01.2014 um 15:53 schrieb Sebastian Kuzminsky <s...@highlab.com>:
> On 01/20/2014 07:47 AM, Michael Haberler wrote: >> >> Am 20.01.2014 um 09:47 schrieb Sebastian Kuzminsky <s...@highlab.com>: >> >>> On 01/20/2014 01:23 AM, Michael Haberler wrote: >>>> >>>> Seb: can you see what chrpath -l says? this should give a clue: >>>> >>>> $ chrpath -l bin/halcmd >>>> bin/halcmd: RPATH=/bighome/mah/emc2-rtos/lib >>> >>> Here's what i get on the rip build and the packaged version: >>> >>>> 1 02:45:52 seb@precise-rtai-x86 /home/seb/linuxcnc.git> chrpath >>>> /usr/bin/halcmd >>>> /usr/bin/halcmd: no rpath or runpath tag found. >>>> 2 02:45:55 seb@precise-rtai-x86 /home/seb/linuxcnc.git> chrpath -l >>>> bin/halcmd >>>> bin/halcmd: RPATH=/home/seb/linuxcnc.git/lib The RIP runpaths are ok, the non-RIP ones are off insofar as none are set. looks like the cause is your commit 4b75c00e in src/Makefile: 6a0031c6 320 ifeq ($(RUN_IN_PLACE),yes) ac9c1f70 321 LDFLAGS := -L$(LIB_DIR) -Wl,-rpath,$(LIB_DIR) 7c64e012 322 else 4b75c00e 323 LDFLAGS := -Wl,-rpath-link,../lib 6a0031c6 324 endif The non-RIP LDFLAGS evidently need another -Wl,-rpath,$(<wherever linuxcnc libs eventually go>), in which case the rpath is set accordingly. Otherwise this will work only if the LD_LIBRARY_PATH happens to hit the right directories by accident, which might be why this worked so far. - Michael -- debian/configure -r still breaks with xenomai running, works with rt-preempt: mah@ubuntu-10:~/emc2-rtos/debian$ ./configure -r configuring for running realtime kernel 3.5.7-xenomai-2.6.2.1 configuring for Ubuntu 10.04 enabled flavors: xenomai, xenomai-kernel, posix sed: can't read control.xenomai.in: No such file or directory sed: can't read control.xenomai-kernel.in: No such file or directory booting rt-preempt, works fine: mah@ubuntu-10:~/emc2-rtos/debian$ ./configure -r configuring for running realtime kernel 3.5.7-xenomai-2.6.2.1 configuring for Ubuntu 10.04 enabled flavors: xenomai, xenomai-kernel, posix sed: can't read control.xenomai.in: No such file or directory sed: can't read control.xenomai-kernel.in: No such file or directory ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers