I am trying to use sendmail in a bash script to send an email to my gmail account upon the completion of a task (Rsync of a folder to remote drive). When I invoke sendmail from the command line I get the above error message.
When I use “find” and also “locate” from the command line then find no files named libnsl.so.*.
Yet when I use the “Add Remove Software” desktop application and search for libnsl it returns libnsl 2.0.0-1 and lib32-libsnl 2.0.0-1. If I click on libnsl 2.0.0-1 and look at the files it includes libnsl.so and libnsl.so.3 and libnsl.so.3.0.0
The error message above says sendmail is looking for libnsl.so.2
I have used the command pamac update and pamac upgrade from the command line and they both return that I am up to date.
This worked!! Thank you for your instructions! Now when I call “sendmail” from the command line I get no error message other than I must have a recipient. I will move on from here. Again thanks for your help!
Note that your response should be marked as a “solution” and this post marked as “resolved”.