Glibc - building statically using Qt creator or forcing a program to use correct version
<p>I have the following problem:</p>

<p>Using Qt Creator, I have made a Qt application which requires Glibc_2.14 to run. I now need to run this application on a machine which only provides Glibc_2.11.3. I do not have root rights on the machine, so I cannot update the library.</p>

<p>If I try to run the application, I naturally get the following error message: <code>/lib/libc.so.6: version 'GLIBC_2.14' not found (required by ./obsluha)</code></p>

<p>I was thinking of linking the Qt application with Glibc statically, but how do I do this in Qt creator? Note that I only need to link statically with Glibc, and not Qt itself.</p>

<p>Another possible way would be to simply copy my working copy of <code>libc.so.6</code> onto the machine and somehow force the application to use that version (I know this is not a very good idea). This copied into my home directory, and my home directory exported into the LD_LIBRARY_PATH of course creates collisions with the other libc version.</p>

<p>Any feedback would be welcome, whether it is a solution of one of the two methods I proposed, or a different method altogether.</p>