<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><blockquote type="cite"><div>On 22 Feb 2023, at 5:33 pm, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:</div><div><div><blockquote type="cite"><br>Thanks Aki, that was helpful. When I add that I get:<br><br>checking for LIBSODIUM... no<br>configure: error: Can't build with libsodium: not found<br><br>So I have to tell it where libsodium is.<br><br>Tried:<br><br>CPPFLAGS=-I/opt/homebrew/Cellar/openssl@3/3.0.8/include LDFLAGS=-L/opt/homebrew/opt/openssl@3/lib LIBSODIUM_LIBS=-L/opt/homebrew/Cellar/libsodium ./configure --with-ssl=openssl --with-mysql —with-sodium<br><br>But that gives:<br><br>configure: WARNING: Libtool does not cope well with whitespace in `pwd`<br>checking build system type... Invalid configuration `—-with-sodium': machine `—-with' not recognized<br><br>Location of libsodium:<br><br>% locate libsodium<br>/opt/homebrew/Cellar/libsodium<br>/opt/homebrew/Cellar/libsodium/1.0.18_1<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/.brew<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/.brew/libsodium.rb<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/AUTHORS<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/ChangeLog<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/INSTALL_RECEIPT.json<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/LICENSE<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/README.markdown<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/include<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/core.h<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/crypto_aead_aes256gcm.h<br>...<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/utils.h<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/version.h<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium.h<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/lib<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.23.dylib<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.a<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.dylib<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/lib/pkgconfig<br>/opt/homebrew/Cellar/libsodium/1.0.18_1/lib/pkgconfig/libsodium.pc<br>/opt/homebrew/lib/libsodium.23.dylib<br>/opt/homebrew/lib/libsodium.a<br>/opt/homebrew/lib/libsodium.dylib<br>/opt/homebrew/lib/pkgconfig/libsodium.pc<br>/opt/homebrew/opt/libsodium<br>/opt/homebrew/var/homebrew/linked/libsodium<br><br>What do I need to use to stop the:Can't build with libsodium: not found<br><br>Sorry these are such stupid questions.<br><br>James.<br></blockquote><br>You accidentically used a UTF-8 special dash instead of two normal dashes.<br><br>Aki<br><br></div></div></blockquote></div><br><div>Yes, I think I picked that up. I think I might have typed it into the email and it changed it (I’ve run the configure command so many times.)</div><div><br></div><div><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;">CPPFLAGS=-I/opt/homebrew/Cellar/openssl@3/3.0.8/include LDFLAGS=-L/opt/homebrew/opt/openssl@3/lib LIBSODIUM_LIBS=-L</span><font face="Menlo"><span style="font-size: 11px;">/opt/homebrew/Cellar/libsodium ./configure --with-ssl=openssl --with-mysql</span></font><span style="font-family: Menlo; font-size: 11px;"> </span><span style="font-family: Menlo; font-size: 11px;">--with-sodium</span></div><div><span style="font-family: Menlo; font-size: 11px;"><br></span></div><div>Fails with:</div><div><br></div><div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">checking for mysql_ssl_set in -lmysqlclient... yes</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">checking for LIBSODIUM... no</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">configure: error: Can't build with libsodium: not found</span></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; line-height: normal; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">This is so frustrating, but I’ll be jumping for joy if we can get it to work.</p><p style="margin: 0px; font-stretch: normal; line-height: normal; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">James.</p></div></body></html>