smtpd: error while loading shared libraries: libasr-5.5.0.so.0: cannot open shared object file: No such file or directory
I was attempting to install opensmtpd on a Ubuntu box to host some material related to an open source version of Smaltalk. ubuntu@isqueak:~$ uname -a Linux isqueak 3.13.0-37-generic #64~precise1-Ubuntu SMP Wed Sep 24 21:37:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux After downloading the opensmtpd-portable-latest.tar.gz and untarring to get opensmtpd-201410152136p1 Installed all the suggested dependences. (hint is libasr missing?) then doing the ./configure and make I was told I was missing asr.h . This was solved by following the material to the github mirror to grab libasr via git. (a) The https://github.com/OpenSMTPD/libasr "how to build" doesn't say to do the: ./bootstrap # Only if you build from git sources so ./configure make make install go back and make clean, ./configure, make, make install. make users fiddle with *.conf file try sudo smtpd -dv Get smtpd: error while loading shared libraries: libasr-5.5.0.so.0: cannot open shared object file: No such file or directory So clues are welcome ubuntu@isqueak:~/opensmtpd-201410152136p1$ ls -l /usr/local/lib total 676 lrwxrwxrwx 1 root root 21 Oct 23 15:25 libasr-5.5.0.so.0 -> libasr-5.5.0.so.0.0.0 -rwxr-xr-x 1 root root 238692 Oct 23 15:25 libasr-5.5.0.so.0.0.0 -rw-r--r-- 1 root root 440918 Oct 23 15:25 libasr.a -rwxr-xr-x 1 root root 964 Oct 23 15:25 libasr.la lrwxrwxrwx 1 root root 21 Oct 23 15:25 libasr.so -> libasr-5.5.0.so.0.0.0 -- =========================================================================== John M. McIntosh <[email protected]> https://www.linkedin.com/in/smalltalk ===========================================================================
