Code:
Code:
ldd /i-data/70be7240/root/.cpan/build/Net-SSLeay-1.88-0/blib/arch/auto/Net/SSLeay/SSLeay.so libssl.so.1.0.0 => not found libcrypto.so.1.0.0 => not found libz.so.1 => /opt/lib/libz.so.1 (0x2abc6000) libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x2abe9000) libc.so.6 => /opt/lib/libc.so.6 (0x2ac93000) /opt/lib/ld-linux.so.3 (0x2ab2f000)
That behaviour is not unexpected. Busybox is not statically linked, but is linked against a certain version of libc. As in opensource world it is always possible to compile against the available libraries, the interfaces of the libraries are not rock stable, like the interfaces of -for instance- Windows libraries. And so you shouldn't be surprised when the compiled binary doesn't work well with another version of the same library.Some more stuff:
As soon, as I set LD_LIBRARY_PATH=/opt/lib, the busybox tools fail with:I checked the ldconfig cache and see:Code:
grep: error while loading shared libraries: /opt/lib/libm.so.6: internal error
libm.so.6 (libc6,soft-float, OS ABI: Linux 2.6.32) => /opt/lib/libm.so.6
Could that be an issue? The kernel running is 3.2.54.
No. The kernel is (almost always) down compatible. The ABI used by the .so is the minimum kernel version. AFAIK all newer kernels are still compatible.Linux 2.6.32) => /opt/lib/libm.so.6
Could that be an issue? The kernel running is 3.2.54.
Statistics: Posted by Mijzelf — Sat 5. Oct 2019, 21:05
Code:
grep: error while loading shared libraries: /opt/lib/libm.so.6: internal error
Code:
python: error while loading shared libraries: /opt/lib/libpthread.so.0: internal error
Statistics: Posted by GerhardJ — Thu 3. Oct 2019, 14:34
Code:
arm-openwrt-linux-gnueabi-gcc -c -I"/opt/include" -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -I/media/ware3/Entware.2019.05/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/media/ware3/Entware.2019.05/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/include -O2 -DVERSION=\"1.88\" -DXS_VERSION=\"1.88\" -fPIC "-I/opt/lib/perl5/5.28/CORE" SSLeay.crm -f blib/arch/auto/Net/SSLeay/SSLeay.soLD_RUN_PATH="/opt/lib" arm-openwrt-linux-gnueabi-gcc -shared -L/opt -L/opt/lib -L/media/ware3/Entware.2019.05/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/opt -L/opt/lib -lssl -lcrypto -lz \ chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so CHRISN/Net-SSLeay-1.88.tar.gz
Code:
ldd /i-data/70be7240/root/.cpan/build/Net-SSLeay-1.88-0/blib/arch/auto/Net/SSLeay/SSLeay.so libssl.so.1.0.0 => not found libcrypto.so.1.0.0 => not found libz.so.1 => /opt/lib/libz.so.1 (0x2abc6000) libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x2abe9000) libc.so.6 => /opt/lib/libc.so.6 (0x2ac93000) /opt/lib/ld-linux.so.3 (0x2ab2f000)
Statistics: Posted by GerhardJ — Thu 3. Oct 2019, 14:10
Code:
ldd /i-data/70be7240/root/.cpan/build/Net-SSLeay-1.88-10/blib/arch/auto/Net/SSLeay/SSLeay.so
it will show you a 'not found' for libssl.so.1.0.0, because is searches in /lib and /usr/lib.Code:
LD_RUN_PATH="/usr/lib" arm-openwrt-linux-gnueabi-gcc -shared -L/usr -L/usr/lib -L/media/ware3/Entware.2019.05/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr -L/usr/lib -lssl -lcrypto -lz \
Code:
LD_RUN_PATH="/opt/lib" arm-openwrt-linux-gnueabi-gcc -shared -L/opt/lib -L/media/ware3/Entware.2019.05/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/opt/lib -lssl -lcrypto -lz \
Statistics: Posted by Mijzelf — Thu 3. Oct 2019, 10:40
Code:
arm-openwrt-linux-gnueabi-gcc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -I/media/ware3/Entware.2019.05/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/media/ware3/Entware.2019.05/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/include -O2 -DVERSION=\"1.88\" -DXS_VERSION=\"1.88\" -fPIC "-I/opt/lib/perl5/5.28/CORE" SSLeay.crm -f blib/arch/auto/Net/SSLeay/SSLeay.soLD_RUN_PATH="/usr/lib" arm-openwrt-linux-gnueabi-gcc -shared -L/usr -L/usr/lib -L/media/ware3/Entware.2019.05/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr -L/usr/lib -lssl -lcrypto -lz \ chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so CHRISN/Net-SSLeay-1.88.tar.gz /opt/bin/make -- OK
Code:
# Error: Can't load '/i-data/70be7240/root/.cpan/build/Net-SSLeay-1.88-10/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: libssl.so.1.0.0: cannot open shared object file: No such file or directory at /opt/lib/perl5/5.28/DynaLoader.pm line 159.
Code:
OPENSSL_PREFIX=/opt perl -MCPAN -e shell
Code:
arm-openwrt-linux-gnueabi-gcc -c -I"/opt/include" -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -I/media/ware3/Entware.2019.05/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/media/ware3/Entware.2019.05/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/include -O2 -DVERSION=\"1.88\" -DXS_VERSION=\"1.88\" -fPIC "-I/opt/lib/perl5/5.28/CORE" SSLeay.crm -f blib/arch/auto/Net/SSLeay/SSLeay.soLD_RUN_PATH="/opt/lib" arm-openwrt-linux-gnueabi-gcc -shared -L/opt -L/opt/lib -L/media/ware3/Entware.2019.05/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/opt -L/opt/lib -lssl -lcrypto -lz \ chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so CHRISN/Net-SSLeay-1.88.tar.gz /opt/bin/make -- OK
Code:
PERL_DL_NONLAZY=1 "/opt/bin/perl5.28.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.tt/handle/local/05_use.t ................ 1/1 # Failed test 'use Net::SSLeay::Handle;'# at t/handle/local/05_use.t line 8.# Tried to use 'Net::SSLeay::Handle'.# Error: Can't load '/i-data/70be7240/root/.cpan/build/Net-SSLeay-1.88-16/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: libssl.so.1.0.0: cannot open shared object file: No such file or directory at /opt/lib/perl5/5.28/DynaLoader.pm line 159.
Code:
LD_LIBRARY_PATH=/opt/lib LD_RUN_PATH=/opt/lib OPENSSL_PREFIX=/opt perl -MCPAN -e shell/bin/pwd: error while loading shared libraries: /opt/lib/libm.so.6: internal error
Statistics: Posted by GerhardJ — Sun 29. Sep 2019, 13:50
Really? That's new to me. Can you login as admin and post the output ofMy fault was that I was always trying the comands with "su" (as stated in the HowTo), alternatively with user "admin" in the ssh. The way to success was finally to login with user "root"
Code:
echo $PATHsuecho $PATH
Code:
/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/zyxel/sbin:/usr/local/zy-pkgs/bin:/zyxel/htp
Statistics: Posted by mes — Sat 28. Sep 2019, 11:25
Code:
echo $PATHsuecho $PATH
Statistics: Posted by Mijzelf — Tue 24. Sep 2019, 09:43
Statistics: Posted by bjoern.metz — Tue 24. Sep 2019, 03:42
Not directly. It should have worked. In the webinterface you should be able to find the log of the initial install. Can you post that?@Mijzelf: Any idea?
Statistics: Posted by mes — Mon 23. Sep 2019, 22:25
Statistics: Posted by Mijzelf — Sun 22. Sep 2019, 14:27
Statistics: Posted by mes — Sat 21. Sep 2019, 19:38
Statistics: Posted by shv — Sat 21. Sep 2019, 17:18
Statistics: Posted by mes — Sat 21. Sep 2019, 12:08
Statistics: Posted by Mijzelf — Thu 12. Sep 2019, 17:01
Thanks Mijzelf
That's a clear statement ...
So stay with me nothing else than a webserver to install.
Did it with "OpenMediaVault" (SD card) tried, was ok but for continuous operation: - /
Which "web server" can you recommend me for the NAS542 V5.21 ??
and when will Entware 3.x be available for us?
Statistics: Posted by Robby — Mon 9. Sep 2019, 10:29