DaHai8
Posts: 55
Joined: Fri Jul 31, 2015 9:21 am

mail error - shared libraries not found!

Sun Dec 13, 2015 1:11 pm

# echo "Test of mail" | mail -s "RPi Test" me@mail.com
mail: error while loading shared libraries: labmu_cfg.so.0: cannot open shared object file: No such file or directory

This just started happening on my Pi.

I have not a clue how to fix this, or why it happened.

Can anyone help?
I can't send any emails now :(

DaHai8
Posts: 55
Joined: Fri Jul 31, 2015 9:21 am

Re: mail error - shared libraries not found!

Sun Dec 13, 2015 1:41 pm

I purges ssmtp and mailutils and then re-installed. Now I get "Illegal Instruction" when I try to send an email with the above command.

Help!

DaHai8
Posts: 55
Joined: Fri Jul 31, 2015 9:21 am

Re: mail error - shared libraries not found!

Sun Dec 13, 2015 2:04 pm

Oh wow. What a mess!
I had to autoremove all these packages:

guile-2.0-libs
libgc1c2
libgsasl7
libkyotocabinet16
libmailutils4
libmysqlclient18
libntlm0
libunistring0
mailutils-common
mysql-common

then remove ssmtp and mailutils, again, and then re-install ssmtp and mailutils.
Now its finally working again!

Return to “Troubleshooting”