Bug
Intro: Im new to CLP and attempting to get it up and working with json files is exausting. I'm having several issues but I'll focus on what I believe to be the easiest. Attempting to run ./clp-s in the docker container ghcr.io/y-scope/clp/clp-core-x86-ubuntu-focal:main reference here provides the initial error below. In the container I can run apt update & apt install libcurl4 to install the missing libraries to which it again errors with the following error.
Initial Error:
./clp-s: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
Following Error:
root@4114fe0ec056:/clp# ./clp-s c /mnt/data /mnt/logs/gh-archive-2021-12.json
terminate called after throwing an instance of 'clp_s::ArchiveWriter::OperationFailed'
what(): src/clp_s/ArchiveWriter.cpp:35 Error code: 4
Aborted (core dumped)
CLP version
main
Environment
Host:
Provider Cloud: AWS
Host:
NAME="Red Hat Enterprise Linux"
VERSION="9.5 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.5"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.5 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.5
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.5"
Reproduction steps
Container: ghcr.io/y-scope/clp/clp-core-x86-ubuntu-focal:main
Container run:
docker run \
--rm \
-it \
--volume ./logs:/mnt/logs \
--volume ./archive:/mnt/data \
ghcr.io/y-scope/clp/clp-core-x86-ubuntu-focal:main /bin/bash
clp-s Command: ./clp-s c /mnt/data /mnt/logs/archive.json
Bug
Intro: Im new to CLP and attempting to get it up and working with json files is exausting. I'm having several issues but I'll focus on what I believe to be the easiest. Attempting to run
./clp-sin the docker containerghcr.io/y-scope/clp/clp-core-x86-ubuntu-focal:mainreference here provides the initial error below. In the container I can runapt update&apt install libcurl4to install the missing libraries to which it again errors with the following error.Initial Error:
./clp-s: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directoryFollowing Error:
CLP version
main
Environment
Host:
Provider Cloud: AWS
Host:
Reproduction steps
Container: ghcr.io/y-scope/clp/clp-core-x86-ubuntu-focal:main
Container run:
clp-s Command:
./clp-s c /mnt/data /mnt/logs/archive.json