You can check dependencies with ldd. Type in console:
This should list you all required libraries and some of them might be marked as "missing" (or something similar, don't remember exactly :P)ldd your_executable_file
You can check dependencies with ldd. Type in console:
This should list you all required libraries and some of them might be marked as "missing" (or something similar, don't remember exactly :P)ldd your_executable_file
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
thank you so far.
ldd linuxRenderSubmit ( name of exe ) gives me the following out of which i find that some are from a 3d package which is not in other machines. How is it possible to compile this exe such that without loading the 3d package ( such others ) the exe runs successfully.
libFoundation.so => /usr/autodesk/maya2008-x64/lib/libFoundation.so (0x00002b0ca468a000)
libOpenMaya.so => /usr/autodesk/maya2008-x64/lib/libOpenMaya.so (0x00002b0ca6309000)
libOpenMayaRender.so => /usr/autodesk/maya2008-x64/lib/libOpenMayaRender.so (0x00002b0ca6756000)
libfontconfig.so.1 => /SGE_ROOT/lib/qtlib/libfontconfig.so.1 (0x00002b0ca68b0000)
libQtGui.so.4 => /opt/qtsdk-2009.05/qt/lib/libQtGui.so.4 (0x00002b0ca6adf000)
libQtCore.so.4 => /opt/qtsdk-2009.05/qt/lib/libQtCore.so.4 (0x00002b0ca77f0000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000035f5000000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000035f9000000)
libm.so.6 => /lib64/libm.so.6 (0x00000035f4800000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000035f8c00000)
libc.so.6 => /lib64/libc.so.6 (0x00000035f4400000)
libShared.so => /usr/autodesk/maya2008-x64/lib/libShared.so (0x00002b0ca7ccd000)
libimf.so => /usr/autodesk/maya2008-x64/lib/libimf.so (0x00002b0ca834e000)
.
.
.
.
Brgds,
kNish
You need to look at why the Autodesk libraries are being linked to your executable in the first place. Could be extraneous entries in your PRO file LIBS line, although I would have expected these to be ignored unless actually used. If your application is using functions contained in these libraries then you cannot avoid having them on the target machines.
Bookmarks