I have an application compiled in Ubuntu 16.04 that depends on many libraries, like Qt, boost and many others with the version that comes with that version. However, I need to run this application in a webserver that is running Ubuntu 12.04, and I don't have root access on it.
When I try to run the application, it complains about the libraries that are in different version or not existent.
For trying to solve that, I had copied every library that ldd reports to a folder and tried to run the application with LD_LIBRARY_PATH pointing to that folder, but the application had received segmentation fault signal.
Compiling the application in Ubuntu 12.04 is not possible, because I'm using features that are not present in older versions of the libraries. Furthermore, I'm not planning to build newer libraries on the old system.
So, my question is: how can I run an application that is being compiled in a new version of Ubuntu, on an old version of Ubuntu?