Skip to content

CLP-S missing dependencies #669

@satellite-no

Description

@satellite-no

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions