qLinux


<< Prev
Additional Software

Next >>
Git-2.35.1


Curl-7.82.0

This package is highly recommended to use git with hhtp(s). Download: curl-7.82.0.tar.xz. Fix the build system:

patch -Np1 -i curl-7.82.0-bld-20220411.patch

Apply a patch to fix the sources:

patch -Np1 -i curl-7.82.0-src-20220411.patch

Configure the package:

PKG_CONFIG_PATH="/libs/lib/pkgconfig" \
./configure --prefix=/misc \
            --datarootdir=/misc/dat \
            --includedir=/misc/inc \
            --mandir=/misc/man \
            --with-openssl \
            --enable-threaded-resolver \
            --with-ca-path=/libs/etc/ssl/certs \
            --with-ca-bundle=cacert.pem

–with-ca-path=/libs/etc/ssl/certs, –with-ca-bundle=cacert.pem
    Set the qLinux' default location and filename for the certificate bundle file. We use the https://curl.se/ca/cacert.pem file.

Build and install curl:

make
make install

Even successful built the libcurl doesn't find the shared ssl libraries at runtime (however  curl  itself does!), thus we create 2 symlinks:

ln -sfv /libs/lib/libcrypto.so.1.1 /qlnx/lib
ln -sfv /libs/lib/libssl.so.1.1 /qlnx/lib

<< Prev
Additional Software

Next >>
Git-2.35.1