Hi all,
I tried to run a simulator (2021.3663) for an app with openssl plugin in New Macbook Pro (M1 Pro) but I encountered the following error:
Error loading module 'plugin_openssl' from file '/Users/Raymond/Library/Application Support/Corona/Simulator/Plugins/plugin_openssl.dylib':
dlopen(/Users/Raymond/Library/Application Support/Corona/Simulator/Plugins/plugin_openssl.dylib, 0x0002): tried: '/Users/Raymond/Library/Application Support/Corona/Simulator/Plugins/plugin_openssl.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/plugin_openssl.dylib' (no such file)
File: error loading module 'plugin_openssl' from file '/Users/Raymond/Library/Application Support/Corona/Simulator/Plugins/plugin_openssl.dylib'
Yes. On fortunately it is not available (yet?). Building Solar2D OpenSSL is super tricky and honestly I gave up when ported all other plug-ins.
Probably should look into it again
Any good news on it?
Actually I finished the update on my old app and not urgent for this. But I would like to know the status so that I can have a planning on using solar2D.
I was going to build it for it, but I realized that I need an M1 to build it for the M1. I don’t have an M1 machine. If somebody wants to lend me one for a month, I can get it done. Otherwise, there is always a chance that my apps or youtube channel has a sudden surge and I can afford a brand new MacBook or at least a MacMini.
We are using Enterprise version 2022.3676 and there android openssl plugin still does not work.
Can you please add M1 plugin there as well?
Thanks!
Error: module ‘plugin.openssl’ not found:resource (plugin.openssl.lu) does not exist in archive
07-31 09:56:48.773 22927 23104 I System.out: stack traceback:
07-31 09:56:48.773 22927 23104 I System.out: no field package.preload[‘plugin.openssl’]
07-31 09:56:48.773 22927 23104 I System.out: no file ‘(null)/plugin/openssl.lua’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘(null)/plugin/openssl.lua’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘/data/app/~~ALyicRRNvD-VGWjk4nPZAA==/com.example.test-lIXsRNNic7f_VxdYOePaVQ==/lib/arm64/libplugin/openssl.so’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘./plugin/openssl.so’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘(null)/plugin/openssl.so’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘/data/app/~~ALyicRRNvD-VGWjk4nPZAA==/com.example.test-lIXsRNNic7f_VxdYOePaVQ==/lib/arm64/libplugin.so’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘./plugin.so’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘(null)/plugin.so’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘/data/app/~~ALyicRRNvD-VGWjk4nPZAA==/com.example.test-lIXsRNNic7f_VxdYOePaVQ==/lib/arm64/libplugin.openssl.so’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘./plugin.openssl.so’
07-31 09:56:48.773 22927 23104 I System.out: no file ‘(null)/plugin.openssl.so’
07-31 09:56:48.773 22927 23104 I System.out: no Java class ‘plugin.openssl.LuaLoader’
07-31 09:56:48.773 22927 23104 I System.out: no global loaded symbol ‘luaopen_plugin_openssl’
07-31 09:56:48.773 22927 23104 I System.out: no zipped .so symbol at ‘/data/app/~~ALyicRRNvD-VGWjk4nPZAA==/com.example.test-lIXsRNNic7f_VxdYOePaVQ==/base.apk!/lib/arm64-v8a/libplugin.openssl.so’
07-31 09:56:48.773 22927 23104 I System.out: at require (External Function)
07-31 09:56:48.773 22927 23104 I System.out: at require (?:0)
07-31 09:56:48.773 22927 23104 I System.out: at (Unknown Function) (?:0)
07-31 09:56:48.773 22927 23104 I System.out: at require (External Function)
07-31 09:56:48.773 22927 23104 I System.out: at require (?:0)
07-31 09:56:48.773 22927 23104 I System.out: at ? (?:0)
07-31 09:56:48.773 22927 23104 I System.out: at on_settings_updated (?:0)
07-31 09:56:48.773 22927 23104 I System.out: at (Unknown Function) (?:0)