2017-09-21, 15:45
(2017-09-21, 15:00)axlt2002 Wrote: Ok, I understand the point now and static build seems to be the way to go. What is just still confusing me is that changing the version of LibreELEC made such error appears...may be the 8.1.1 is missing some libraries wrt 8.0.2? Anyway...
ldd shows every binary dependecies and lack of libraries
i.e. on my RPi
PHP Code:
LibreELEC (official): 8.1.1 (RPi2.arm)
PiBob:~ # ldd /usr/bin/python
linux-vdso.so.1 (0x7eca4000)
/usr/lib/libarmmem.so (0x76ebf000)
libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x76d2d000)
libc.so.6 => /usr/lib/libc.so.6 (0x76bf6000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x76bce000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x76bbb000)
libutil.so.1 => /usr/lib/libutil.so.1 (0x76ba8000)
libm.so.6 => /usr/lib/libm.so.6 (0x76b2a000)
/lib/ld-linux-armhf.so.3 (0x76ed4000)
About libraries in 8.1.1 vs 8.0.2 - missing or changing to other - PHP are full of modules and dependencies on other system components. If something was replaced ...
ldd on php-cgi shows dependencies