From f2f3f3ab983d5ae2359aa9dda5527d450d8938b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Benko?= Date: Mon, 24 Mar 2025 14:27:18 +0100 Subject: [PATCH] fix(ci/release): add SQLite dependencies for NodeJS Adds two new SQLite dependencies as a workaround to fix issue with undefined symbol `sqlite3session_attach` in shared libraries for NodeJS 22.14: /usr/bin/node-22: symbol lookup error: /lib64/libnode.so.127: undefined symbol: sqlite3session_attach This probably has to do with PR https://github.com/nodejs/node/pull/54181. --- .github/workflows/release.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5967772..810118f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,19 @@ jobs: EOF shell: bash + # `sqlite` and `sqlite-devel` packages are apparently needed for NodeJS + # 22.14. Otherwise this symbol lookup error is thrown: + # ``` + # /usr/bin/node-22: symbol lookup error: /lib64/libnode.so.127: undefined symbol: sqlite3session_attach + # ``` + # This is a workaround until the issue is resolved. We are not using SQLite in the project. - name: Install dependencies run: | - dnf install -y nodejs npm make cmake rpm-build copr-cli + dnf install -y \ + nodejs npm \ + make cmake \ + rpm-build copr-cli \ + sqlite sqlite-devel - name: Package ADiCT lite run: |