Upon startup, the as-agent.jar throws the following error.
./as-agent: error while loading shared libraries: libas-common.so: cannot open shared object file: No such file or directory Symptoms: ./as-agent: error while loading shared libraries: libas-common.so: cannot open shared object file: No such file or directory Cause: System wide variables for TIBCO ActiveSpaces® have not been setup.
Resolution
Create a file in /etc/profile.d called as.sh . The file should contain the following:
Now edit the applicable file paths to match your system setup. Once you have saved the file, run the following command:
chmod 755 as.sh
This will allow all AS Libraries to be loaded at system startup. Go to your /opt folder and create the file start-as.sh . Make the file executable by running the following command:
chmod 755 start-as.sh
In start-as.sh, add the following information. Be sure to point to the correct TIBCO ActiveSpaces® installation folder below: