Checklist for when an app does not run in your environment
I learned these things in a hard way; genuinely firsthand.
Obvious things
- Check the OS versions
- Check the CPU architectures
- Check the versions of the app
Check the depending shared libraries
Check if the app is using the same shared libraries.
- List the paths of shared libraries that the app depends on by
ldd
- Format the output by
grep
,tr
, andcut
- Get the MD5 hash of each shared library by
md5_sum
D-Bus
- Check if the D-Bus settings are the same as the working environment
GUI app only- Check the settings of the graphics libraries
- Check the graphics library the app depends on
- Run a sample command that come with the graphics library such as
glxgear
.
VNC environment only- xstartup file
- Check if the
xstartup
file is the same as the working environment