Hello.
I am compiling libcurl.so.4.5.0 without recompiling all project, in my Raspberry with Raspbian. Then, I squash the last 8.90.003 image and copy the file libcurl.so.4.5.0 in the folder /usr/lib of the 8.90.003 image. Then I resquash ant it just hangs on the boot (after resizing the partition and rebooting for the first time)
It just doesn't work. What am I doing bad?
These are the commands I am using:
git clone GitHub - curl/curl: A command line tool and library for transferring data with URL syntax, supporting HTTP, HTTPS, FTP, FTPS, GOPHER, TFTP, SCP, SFTP, SMB, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP. libcurl offers a myriad of powerful features
cd curl
# I have changed these lines -> https://github.com/curl/curl/compare/master...Fran008:master#diff-72ee0eef31d053c9e6d4fb22e81d2407
./buildconf
./configure --with-ssl --with-librtmp
make
sudo make install
mkdir /media/pi/RASPBERRY/libreelec
cd /media/pi/RASPBERRY/libreelec
wget libreelec-rpi2.arm-8.90.003.img.gz
gunzip LibreELEC-RPi2.arm-8.90.003.img.gz
sudo losetup -o 4194304 /dev/loop0 LibreELEC-RPi2.arm-8.90.003.img
mkdir image
sudo mount /dev/loop0 image
sudo unsquashfs image/SYSTEM
sudo cp /usr/local/lib/libcurl.so.4.5.0 squashfs-root/usr/lib
sudo mksquashfs squashfs-root SYSTEM -b 131072 -comp lzo -no-xattrs
md5sum SYSTEM > SYSTEM.md5
sudo mv SYSTEM* image/
sudo umount image
gzip -9 LibreELEC-RPi2.arm-8.90.003.img