Skip to content

Commit 2d14fc0

Browse files
yahondaclaude
andcommitted
Add LD_LIBRARY_PATH to RuboCop workflow for Oracle 23 client
The ruby-oci8 gem's extconf.rb compiles and runs a test program to determine OCI_MAJOR_VERSION. Without LD_LIBRARY_PATH set, the program cannot find libclntsh.so.23.1 at runtime, causing the build to fail. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 64425d4 commit 2d14fc0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13+
env:
14+
LD_LIBRARY_PATH: /usr/lib/oracle/23/client64/lib
1315

1416
steps:
1517
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)