[ZeroBrane Studio] Re: Symbol not found: _SSL_CTX_dane_enable in 190c

  • From: Paul K <paul@xxxxxxxxxxxxx>
  • To: zerobrane@xxxxxxxxxxxxx
  • Date: Sun, 3 Nov 2019 08:34:47 -0800

Hi Jan,

Thank you for the report!

Expected in: /usr/lib/libssl.dylib

ssl.dylib tries to load /usr/lib/libssl.dylib, even though it has to
load bin/libssl.dylib. It's possible that Catalina restricts access to
/Applications (as you probably copied the content of the zip archive
you downloaded), so try moving the folder to a different location
(somewhere under your HOME directory). When the binaries are packaged,
the installation package will be signed, so it's not going to be an
issue anymore.

Do I need to install openssl?

You'd need to install 1.1.1+ version, which should fix the issue, but
I'd expect moving to a different location to fix this as well.

Paul.

On Sun, Nov 3, 2019 at 8:22 AM Jan Gabrielsson <jangabrielsson@xxxxxxxxx> wrote:

Hi, I seem to have a problem with ssl...
Trying require("ssl.https”) in ZeroBraneStudio-all-binaries-190c, macOS 
Catalina 10.15.1.
Does not matter which Lua version I use in ZB.

Program starting as 
'"/Applications/ZeroBraneStudio-all-binaries-190c/bin/lua.app/Contents/MacOS/lua52"
 -e "io.stdout:setvbuf('no')" 
"/var/folders/tv/2v395_bn1zs17v02gqhbkh2c0000gn/T/.AVAdlu"'.
Program 'lua52' started in '/Users/jangabrielsson' (pid: 5621).
Debugging session started in '/Users/jangabrielsson/'.
Program completed in 0.93 seconds (pid: 5621).
error loading module 'ssl.core' from file 
'/Applications/ZeroBraneStudio-all-binaries-190c/bin/clibs52/ssl.dylib':
        
dlopen(/Applications/ZeroBraneStudio-all-binaries-190c/bin/clibs52/ssl.dylib, 
6): Symbol not found: _SSL_CTX_dane_enable
  Referenced from: 
/Applications/ZeroBraneStudio-all-binaries-190c/bin/clibs52/ssl.dylib
  Expected in: /usr/lib/libssl.dylib
 in /Applications/ZeroBraneStudio-all-binaries-190c/bin/clibs52/ssl.dylib
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        ...ations/ZeroBraneStudio-all-binaries-190c/lualibs/ssl.lua:18: in 
main chunk
        [C]: in function 'require'
        .../ZeroBraneStudio-all-binaries-190c/lualibs/ssl/https.lua:10: in 
main chunk
        [C]: in function 'require'
        Test.lua:1: in main chunk
Debugging session completed (traced 0 instructions).

Do I need to install openssl?

/J

Other related posts: