I believe have the same problem as the one described in this question: I'm trying to build an external library which seems to be searching for libXi.so, while I only have libXi.so.6 in the system folders (in /lib64/).
Specifically, the error I receive is
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lXi
Unfortunately, I do not have sudo access, and cannot follow the same solution proposed in the question linked above: creating a symbolic link which points to libXi.so.6.
I tried creating a symbolic link to libXi.so.6 called libXi.so in a folder that I do have access to, and then added that to LD_LIBRARY_PATH, but that didn't work.
- Did I diagnose the problem correctly, or am I missing something?
- What are my options, besides reaching out to an administrator?
If it helps, I'm working with CentOS 7.
Thank you.
Edit Additional detail which may be relevant: I am building locally a library A, which, as part of its build process, is automatically building its own external dependency B (I'm assuming A comes with the source for B, or A is automatically downloading B). B is the one that requires libXi.so