Hello,
The LD_LIBRARY_PATH variable seems to be cleared in rttlua-gnulinux:
$ rosrun ocl rttlua-gnulinux -i
> ld = os.getenv("LD_LIBRARY_PATH")
> print(ld)
nil
I am using ROS Fuerte and the ocl toolchain-2.5 branch on an Ubuntu 12.04
kernel.
Any ideas?
Regards,
Eli Reekmans
rttlua: LD_LIBRARY_PATH cleared
On Wed, Jul 11, 2012 at 03:47:03PM +0200, Eli Reekmans wrote:
> Hello,
>
> The LD_LIBRARY_PATH variable seems to be cleared in rttlua-gnulinux:
>
> $ rosrun ocl rttlua-gnulinux -i
> > ld = os.getenv("LD_LIBRARY_PATH")
> > print(ld)
> nil
>
> I am using ROS Fuerte and the ocl toolchain-2.5 branch on an Ubuntu 12.04
> kernel.
>
> Any ideas?
My guess is that either your rttlua binary has set setuid/setgid or
you have configured capabilities(7), IIRC in both cases
LD_LIBRARY_PATH is cleared for security reasons.
What are you trying to do?
Markus