| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | echoscip-shell system . . echo. "before patching" |
| 4 | lsscip-shell system . . ls. -all /lib/x86_64-linux-gnu/scip-shell filesystem . . `/lib/x86_64-linux-gnu/`. | grepscip-shell system . . grep. libcurl |
| 5 | |
| 6 | # This would fix missing CURL_OPENSSL_3 |
| 7 | # use a dedicated temp dir in the user space |
| 8 | mkdirscip-shell system . . mkdir. ~/libcurl3 |
| 9 | cd ~/libcurl3 |
| 10 | # fetch latest libcurl3 |
| 11 | wget http://archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl3_7.47.0-1ubuntu2_amd64.deb |
| 12 | # extract data.tar.xz |
| 13 | arscip-shell system . . ar. x libcurl3* data.tar.xz |
| 14 | # extract all from data.tar.xz |
| 15 | tarscip-shell system . . tar. xf data.tar.xz |
| 16 | # copy libcurl.so.3 where required |
| 17 | sudoscip-shell system . . sudo. cp -L ~/libcurl3/usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0 /lib/x86_64-linux-gnu/libcurl.so.4.4.0scip-shell filesystem . . `/lib/x86_64-linux-gnu/libcurl.so.4.4.0`. |
| 18 | sudoscip-shell system . . sudo. ln -sf libcurl.so.4.4.0 /lib/x86_64-linux-gnu/libcurl.so.4scip-shell filesystem . . `/lib/x86_64-linux-gnu/libcurl.so.4`. |
| 19 | cd .. |
| 20 | # drop dedicated temp dir |
| 21 | sudoscip-shell system . . sudo. rm -rf ~/libcurl3 |
| 22 | |
| 23 | echoscip-shell system . . echo. "after patching" |
| 24 | lsscip-shell system . . ls. -all /lib/x86_64-linux-gnu/scip-shell filesystem . . `/lib/x86_64-linux-gnu/`. | grepscip-shell system . . grep. libcurl |