Skip to content

Fix jcsl runtime error by installing libssl3 and setting LD_LIBRARY_PATH#2

Draft
yuki-js with Copilot wants to merge 2 commits into
mainfrom
copilot/reproduce-jcsl-error
Draft

Fix jcsl runtime error by installing libssl3 and setting LD_LIBRARY_PATH#2
yuki-js with Copilot wants to merge 2 commits into
mainfrom
copilot/reproduce-jcsl-error

Conversation

Copilot AI commented Jun 12, 2026

Copy link
Copy Markdown

The jcsl (Java Card Smart Link) binary requires libcrypto.so.3 from OpenSSL 3.x to run, but this library was missing in the GitHub Actions runner environment, causing the template verification workflow to fail with a "cannot open shared object file" error.

Changes:

  • libssl3 installation: Added apt-get install libssl3 step to the verify-template workflow to provide the required libcrypto.so.3 library
  • Library path configuration: Set LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu for all gradle-based workflow steps to ensure the jcsl binary can locate the library at runtime
  • Verification step: Added diagnostic find command to confirm library availability after installation

Example error resolved:

/home/runner/work/cinpo/cinpo/template/build/cinpo-cache/jcsl/linux-amd64/jcsl: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory

Copilot AI changed the title Fix jcsl runtime error by installing libssl3 in GitHub Actions Add libssl3 installation to template verification workflow Jun 12, 2026
Copilot AI requested a review from yuki-js June 12, 2026 17:22
Copilot AI changed the title Add libssl3 installation to template verification workflow Fix jcsl runtime error by installing libssl3 and setting LD_LIBRARY_PATH Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants