Error loading shared libraries:

Dear All,

I have successfully installed openpbs 20 on linux mint 21, but when I try to execute the qstat and pbsnode commands, there is an error.
The error is below:
qstat: error while loading shared libraries: cannot open a shared object file: There is no such file or directory.

Does anyone have a problem like this?
If there is a solution to this error, I would be grateful.

Thank you very much.


Hi @susilo , Have you found any fix ? I’m facing the same issue

Check the value of LD_LIBRARY_PATH i.e. run the command:
This lib path should include the path to that library. If it does not then you can try to add it. I’m not using openpbs 20 but you first need to find that path to using “locate” or look up where it is in Ppenpbs.

an alternative way is to create a file named pbs.conf under /etc/, note the path varies, please change it accordingly to your pbs real path (where located)

cat /etc/


after run ldconfig to refresh cache. you dont need to set LD_LIBRARY_PATH after this