v2.3.6 Configure fail 'libssl not found' macOS

James Brown jlbrown at bordo.com.au
Wed May 1 10:43:47 EEST 2019


> On 1 May 2019, at 4:38 pm, James Brown via dovecot <dovecot at dovecot.org <mailto:dovecot at dovecot.org>> wrote:
> 
> No problems with 2.3.5, but when I try to compile 2.3.6 with:
> 
> ./configure --with-mysql --with-ssl=openssl
> 
> I get:
> 
> checking for dlopen... yes
> checking for SSL_read in -lssl... no
> configure: error: Can't build with OpenSSL: libssl not found
> 
> $ locate libssl
> /Applications/BBEdit.app/Contents/XPCServices/GitIgnoreXPCService.xpc/Contents/Frameworks/libssl.dylib
> /Applications/Navicat for MySQL.app/Contents/Frameworks/libssl.1.0.0.dylib
> /Applications/assp/assp.mod/bin/libssl32.dll
> /usr/lib/libssl.0.9.7.dylib
> /usr/lib/libssl.0.9.8.dylib
> /usr/lib/libssl.35.dylib
> /usr/lib/libssl.43.dylib
> /usr/lib/libssl.44.dylib
> /usr/lib/libssl.dylib
> /usr/local/Cellar/openssl/1.0.2r/lib/libssl.1.0.0.dylib
> /usr/local/Cellar/openssl/1.0.2r/lib/libssl.a
> /usr/local/Cellar/openssl/1.0.2r/lib/libssl.dylib
> /usr/local/Cellar/openssl/1.0.2r/lib/pkgconfig/libssl.pc
> /usr/local/Cellar/openssl at 1.1/1.1.1b/lib/libssl.1.1.dylib
> /usr/local/Cellar/openssl at 1.1/1.1.1b/lib/libssl.a
> /usr/local/Cellar/openssl at 1.1/1.1.1b/lib/libssl.dylib
> /usr/local/Cellar/openssl at 1.1/1.1.1b/lib/pkgconfig/libssl.pc
> /usr/local/lib/dovecot/libssl_iostream_openssl.a
> /usr/local/lib/dovecot/libssl_iostream_openssl.la <http://libssl_iostream_openssl.la/>
> /usr/local/lib/dovecot/libssl_iostream_openssl.so
> 
> Any suggestions?
> 
> Thanks,
> 
> James.

Sorry for the noise.

export CPPFLAGS="-I/usr/local/opt/mysql at 5.7/include/mysql -I/usr/local/Cellar/openssl at 1.1/1.1.1b/include"
export LDFLAGS="-L/usr/local/opt/mysql at 5.7/lib -L/usr/local/opt/openssl at 1.1/lib"

./configure --with-mysql --with-ssl=openssl

Worked.

James.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190501/3221d846/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4688 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190501/3221d846/attachment-0001.bin>


More information about the dovecot mailing list