Cling Error in loading library

Hello,

I am recently trying to run my analysis code in a new machine recently obtained at our lab. It is a simple TSelector based standalone program and run locally to generate necessary outputs. When trying to use root to run the code, I get the following error:

cling::DynamicLibraryManager::loadLibrary(): libnss_ldap.so.2: cannot open shared object file: No such file or directory

It seems to be an error associated with root, though I am not sure how to solve it at this point. Any help will be deeply appreciated.

Can you post the output of ldd binary where binary is the program file?