Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLP-S missing dependencies #669

Open
satellite-no opened this issue Jan 16, 2025 · 2 comments
Open

CLP-S missing dependencies #669

satellite-no opened this issue Jan 16, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@satellite-no
Copy link

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

@satellite-no satellite-no added the bug Something isn't working label Jan 16, 2025
@kirkrodrigues
Copy link
Member

Hey @satellite-no,

Thanks for the report! Sorry about that---we missed installing libcurl in the prebuilt container. Will patch it soon.

The second issue you're experiencing may be due to a permission error but we need to add some additional logs to be sure.

We'll update you as soon as the changes are in!

@satellite-no
Copy link
Author

@kirkrodrigues thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants