Open SeaAndSand opened 2 years ago
root@myimx6ek140p:~# ./lua main.lua
./lua: error loading module '_cqueues' from file '/usr/local/lib/lua/5.4/_cqueues.so':
/usr/local/lib/lua/5.4/_cqueues.so: undefined symbol: CRYPTO_set_locking_callback
stack traceback:
[C]: in ?
[C]: in function 'require'
/usr/local/share/lua/5.4/cqueues.lua:2: in function </usr/local/share/lua/5.4/cqueues.lua:1>
(...tail calls...)
[C]: in function 'require'
main.lua:1: in main chunk
[C]: in ?
root@myimx6ek140p:~# ./ldd /usr/local/lib
lib/ libexec/
root@myimx6ek140p:~# ./ldd /usr/local/lib/lua/5.4/_cqueues.so
linux-vdso.so.1 (0x7efa1000)
libssl.so.1.1 => /lib/libssl.so.1.1 (0x76d38000)
libpthread.so.0 => /lib/libpthread.so.0 (0x76d18000)
libdl.so.2 => /lib/libdl.so.2 (0x76d0d000)
librt.so.1 => /lib/librt.so.1 (0x76cfd000)
libm.so.6 => /lib/libm.so.6 (0x76c8a000)
libc.so.6 => /lib/libc.so.6 (0x76b55000)
/lib/ld-linux-armhf.so.3 (0x54b16000)
libcrypto.so.1.1 => /lib/libcrypto.so.1.1 (0x769a8000)
root@myimx6ek140p:~#
@: arm-linux-gnueabihf-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabihf/5/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-armhf-cross/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-armhf-cross --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-armhf-cross --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libgcj --enable-objc-gc --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-multilib --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-gnueabihf --program-prefix=arm-linux-gnueabihf- --includedir=/usr/arm-linux-gnueabihf/include
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)
luaL_dofile error: error loading module '_cqueues' from file './local/cqueues/lib/5.4/_cqueues.so': ./local/cqueues/lib/5.4/_cqueues.so: undefined symbol: CRYPTO_set_locking_callback