Chapter 11. Installation Troubleshooting
Table of Contents
11.2. Application fail to start
11.2.1. Missing shared libraries (Linux only)
The symptom of this issue is applications failing to start when run from either the command line or when selected from the menu.
Certain eCosPro Host Tools require the use of shared libraries which if not installed will result in the failure of the tool to start. The eCosPro installer attempts to determine missing dependencies and report these during the installation. This warning may have been overlooked or forgotten.
As an aid to determine if there are shared libraries required but not
installed, the script
test-shlib.sh exists in
bin sub-directory of the
eCosPro Host Tools and may be passed the name of an executable to
test. It will report any missing shared libaries. For example:
$ cd /opt/ecospro/ecoshosttools-220.127.116.11/bin/ $ ./test-shlib.sh configtool The following shared libraries are not installed but are required in order to run configtool: libpng12.so.0 $
No output is produced if all required shared libraries are installed.
libpng12.so.0, here are
some examples for various distributions:
$ sudo zypper install libpng12-0 # openSUSE
$ sudo apt-get install libpng12-0 # Ubuntu
$ sudo yum install libpng12 # Fedora
Alternatively, simply executing the command from a command line will often gives you an error of which shared libraries are missing:
$ cd /opt/ecospro/ecoshosttools-18.104.22.168/bin/ $ ./configtool configtool: error while loading shared libraries: libpng12.so.0: cannot open shared object file: \ No such file or directory
11.2.2. Eclipse or Help fail to start
Eclipse and the Eclipse help system require at least 1GB of memory in order to run. If your workstation or host environment do not have at least 1GB of available memory, when Eclipse or Help is run java will exit with an error. When run from either the command line or from a menu item, the host environment will report the error, otherwise if Help is run from within the GUI configuration tool, it will fail silently.
The solution is to either add additional memory to the host platform or to exit running applications to free memory.
|2019-06-13||eCosPro Non-Commercial Public License|