i92guboj is on the right track. Linux keeps the names of the libraries in a file called /etc/ld.so.conf which applies to all users. In CentOS /etc/ld.so.conf references a directory called /etc/ld.so.conf.d where it keeps the actual list. This list is used for all users and root. In my CentOS /etc/ld.so.conf.d contains two files:
/etc/ld.so.conf.d/i486-linux-gnu.conf which contains:
Code:
# Multiarch support
/lib/i486-linux-gnu
/usr/lib/i486-linux-gnu
/etc/ld.so.conf.d/libc.conf which contains:
Code:
# libc default configuration
/usr/local/lib
Since most of your users have no problem finding the standard libraries there is probably nothing wrong with the library configuration files in your /etc. But you should check them first to make sure they are correct.
If they are correct then the question is why is the one user account unable to access the standard libraries. A user can modify the library list. They do so by setting the LD_LIBRARY_PATH variable. Have the user who is having problems issue this command to check his LD_LIBRARY_PATH variable:
echo $LD_LIBRARY_PATH
If the LD_LIBRARY_PATH variable hasn't been touched then you should get a null response. If the LD_LIBRARY_PATH contains some data then the problem is an incorrectly set LD_LIBRARY_PATH.
-------------------------
Steve Stites