Lua script can't find services

Hi Markus,
I am using toolchain2.5 with ros-elect and for whatever reasons, my lua scripts can not find .so files anymore unless they are under install/lib  (which is RTT_COMPONENT_PATH). It also asks for explicit import(" pkd-name") call for the service to be available in the script. I never had to do this before.
All the rtt component package relevant .so files were always in the <package>/lib and it used to work fine. 
 Also, it started to ask for the component names with uppercase.
So,  tc:getPeer("deployer") needs to be tc:getPeer("Deployer") now. This is not a problem in .ops scripts. I did not change any lua path variables, only gcc and some libraries were upgraded. Can  be that rttros script somehow got messed up?

Sincerely
Azamat

Lua script can't find services

On Sa, Nov 16, 2013 at 09:42:38 -0800, Azamat Shakhimardanov wrote:
>Hi Markus,
>I am using toolchain2.5 with ros-elect and for whatever reasons, my lua scripts
>can not find .so files anymore unless they are under install/lib (which is
>RTT_COMPONENT_PATH). It also asks for explicit import(" pkd-name") call for the
>service to be available in the script. I never had to do this before.
>All the rtt component package relevant .so files were always in the
><package>/lib and it used to work fine.

I'm not sure what might be causing this.

> Also, it started to ask for the component names with uppercase.
>So, tc:getPeer("deployer") needs to be tc:getPeer("Deployer") now. This is not
>a problem in .ops scripts. I did not change any lua path variables, only gcc and
>some libraries were upgraded. Can be that rttros script somehow got messed up?

Yes, at some point the rttlua deployment component was renamed from
deployer to Deployer, to be in line with the ops deployer. You'll have
to update your scripts.

Markus