Problem

I am trying to use with ACS 6.0 an RTOS installation done with 5.0. I have errors

Solution

The RTOS installation procedure for ACS 5.x was leaving the original build path, containing the path /alma/ACS-5.0 in some files of the installation.

When installing ACS 6.0 and removing the /alma/ACS-5.0 directory structure these references remain dangling.

You have the following workarounds :

  • Do not remove the /alma/ACS-5.0 directory structure
  • Create just a link for /alma/ACS-5.0 into /alma/ACS-6.0

ACS 6.0 has been fixed and this problem does not occurr any more with newer builds of RTOS.

You can fix an ACS 5.0 installation in the following way:


  • Checkout fom CVS head the utility ACS/ExtProd/RTOS/postRTOSinstall
  • Before removing ACS 5.x and reconfiguring the environment ,
    just run ACS/ExtProd/RTOS/postRTOSinstall as root!
  • If you have already removed ACS 5.x and reconfigured the environment for ACS 6.0 run the following commands:
       > cd /alma
       > ln -s ACS-6.0 ACS-5.0
       > ACS/ExtProd/RTOS/postRTOSinstall -cleanup /alma/ACS-5.0
       > rm ACS-5.0


After that fix you can have problem like:

 
 1 - ./switches: error while loading shared libraries: liblxrt.so.1: cannot open shared object file: No such file or directory.

This problem can be solved in several ways:

  • added path (line) /usr/realtime/lib in /etc/ld.so.conf. And run ldconfig afterwards. To check if it works run: /sbin/ldconfig -p | grep lxrt
  • using tools that change RPATH from: /alma./ACS-5.0/lib to /usr/realtime/lib. The sources for such a tool can be found here

Thee is also JIRA Ticke about the problem: COMP-971

-- BogdanJeram - 10 Aug 2007