my development machine is a macmini. the harddisk failed, so i restored time 
machine to a new disk.
but, the time machine backup (using directory hardlinks) had many missing 
directories, so most of my development is gone forever.

so it seems i cannot trust time machine, any suggestions are welcome ;-)



one of the problems is mailsend 'lightweight, command line SMTP email client'. 
i still have a binary /usr/local/bin/mailsend (2015 probably from before 10.11) 
but not the procedure to build it. now i'm trying to make a port for it but i 
have a linking problem. this one is for macos 10.13.

ref: https://github.com/muquit/mailsend

otool -L /usr/local/bin/mailsend # tis is the old one
/usr/local/bin/mailsend:
        /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current 
version 0.9.8)
        /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current 
version 0.9.8)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1213.0.0)

the readme says 

./configure --with-openssl=/usr
not using macports but apple this results in 
./mailsend -V
mailsend Version: @(#) mailsend v1.19
Not Compiled OpenSSL, some auth methods will be unavailable

i have openssl @1.1.1g_0 installed and port contents shows

/opt/local/lib/libcrypto.1.1.dylib
/opt/local/lib/libcrypto.dylib ->
/opt/local/lib/libssl.1.1.dylib
/opt/local/lib/libssl.dylib ->

i need to specify the include and lib directory so i tried

./configure --with-openssl /opt/local --with-openssl-includes 
/opt/local/include/openssl --with-openssl-libraries /opt/local/lib
make clean && make
./mailsend -V
mailsend Version: @(#) mailsend v1.19
Not Compiled OpenSSL, some auth methods will be unavailable

otool -L mailsend
mailsend:
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1252.50.4)

any suggestions?

Reply via email to