1
What is the sequence of paths that are searched for loading a shared object file?
I am trying to run a executable which tries to load a shared object file. The shared object file can be found at /usr/lib/x86_64-linux-gnu/
.
I have two users, let's call them user1
and user2
. user1
can run the executable but user2
encounters the error: cannot open the shared object file: libicuuc.so
Both the users have the same LD_LIBRARY_PATH
. What is mising?
1Does user2 have the correct rights to read libicuuc.so? – DavidPostill – 2016-04-18T11:23:00.953
Yes,
user2
can read libicuuc.so. – Mukul Gupta – 2016-04-18T12:17:34.543It turns out that
user2
was trying to run a 32 bit executable for a different distro.ldd
helped debug the issue. Thanks! – Mukul Gupta – 2016-04-18T15:10:42.190