Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
chilinkiot opened this issue Dec 2, 2023 · 1 comment

Comments

@chilinkiot
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant