ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.05k stars 925 forks source link

The latest version 3.0 and 3.11 compile failed for OpenWrt-23.05, no libcrypto.so.1.1 found #1160

Closed chilinkiot closed 7 months ago

chilinkiot commented 7 months ago

I want to integrate n2n into my firmware, based on openwrt-23.05 source code. Both the latest stable version 3.0 and version 3.1.1 code are compiled fail caused by libcrypto library version issue. N2N need libcrypto.so.1.1 but the openssl has been upgraded 3.0. Does anyone know how to fix it or N2N can support openssl 3.0?

======================= mkdir -p /home/gitlab/Workspace/openwrt/bin/targets/ramips/mt7621/packages /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/CONTROL /home/gitlab/Workspace/openwrt/staging_dir/target-mipsel_24kc_musl/pkginfo install -d -m0755 /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/usr/sbin install -m0755 /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/edge /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/usr/sbin/edge4 install -d -m0755 /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/etc/config install -m0644 ./files/n2n.config /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/etc/config/n2n install -d -m0755 /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/etc/init.d install -m0755 ./files/n2n.init /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/etc/init.d/n2n install -d -m0755 /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/lib/netifd/proto install -m0755 ./files/n2n.sh /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/lib/netifd/proto install -m0755 ./files/usr/sbin/edge_v2.6_mipsel /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n/usr/sbin/edge3 find /home/gitlab/Workspace/openwrt/build_dir/target-mipsel_24kc_musl/n2n-3.0/ipkg-mipsel_24kc/n2n -name 'CVS' -o -name '.svn' -o -name '.#' -o -name '~'| xargs -r rm -rf Package n2n is missing dependencies for the following libraries: libcrypto.so.1.1 make[2]: [Makefile:97: /home/gitlab/Workspace/openwrt/bin/packages/mipsel_24kc/ciot/n2n_3.0-1_mipsel_24kc.ipk] Error 1 make[2]: Leaving directory '/home/gitlab/Workspace/openwrt/feeds/ciot/3rdParty/n2n' time: package/feeds/ciot/n2n/compile#27.02#3.12#30.90 ERROR: package/feeds/ciot/n2n failed to build. make[1]: [package/Makefile:128: package/feeds/ciot/n2n/compile] Error 1 make[1]: Leaving directory '/home/gitlab/Workspace/openwrt' make: *** [/home/gitlab/Workspace/openwrt/include/toplevel.mk:232: package/n2n/compile] Error 2

chilinkiot commented 7 months ago

Sorry I make a mistake. I know what happened. That is caused by the old version bin files which are compiled on OpenWrt-19.07 project.