Original Post
Hi there, I recently started to port my engine from Windows to Linux using Eclipse CDT. However, I have a problem linking/finding the shared objects at runtime. I know I could install the *.so files to /usr/lib but to do that I need root rights and that's something I'd like to avoid. In CDT I can enter post-build commands like "install /usr/lib" but as stated I need root rights, so the call fails. What I'd like to have is: - shared object files in the directory of the executable or a subdirectory (e.g. "lib") - build time linking (avoid dlopen() and the like for core libraries) For a first test I have the following setup: workspace/FileSystem/Debug/libFileSystem.so workspace/Test/Debug/Test (binary) That results in libFileSystem.so no being found at runtime. The setup I'd prefer (binary should be able to find the shared object in relative path "./lib/": workspace/Test/Debug/lib/libFileSystem.so workspace/Test/Debug/Test (binary) Can I do this? How? Thanks in advance. Thomas