strcpy_chk: symbol not found
Libsql Client Ts: strcpy_chk: symbol not found. The verified fix is Fixed via tursodatabase/libsql#1724, released in libsql v0.4.3 - `npm update` picks it up. Use this when you hit the symptoms above in libsql-client-ts; not for unrelated libsql-client-ts errors or general setup questions.
TL;DR
Fixed via tursodatabase/libsql#1724, released in libsql v0.4.3 - npm update picks it up. If still stuck: override @libsql/linux-x64-musl to 0.2.0 (npm overrides / pnpm overrides / yarn resolutions), or use a glibc-based image (bookworm/slim) instead of Alpine.
The error
2024-02-17T11:15:12.739 app[080e513b19e298] ams [info] Error: Error relocating /app/node_modules/@libsql/linux-x64-musl/index.node: __strcpy_chk: symbol not foundFix
- Fixed via tursodatabase/libsql#1724, released in libsql v0.4.3 -
npm updatepicks it up. - If still stuck: override
@libsql/linux-x64-muslto 0.2.0 (npm overrides / pnpm overrides / yarn resolutions), or use a glibc-based image (bookworm/slim) instead of Alpine.
Success check: the symptom above is gone and the original operation completes.
When to use
- You hit this exact symptom in libsql-client-ts.
- You want the verified fix without digging through the thread.
When not to use
- A different error in libsql-client-ts, even a similar-looking one.
- General libsql-client-ts setup or credential questions.
Compatibility
- Libsql Client Ts (tursodatabase/libsql-client-ts)
Variant phrasings
- How to fix "strcpy_chk: symbol not found" in libsql-client-ts
- libsql-client-ts: strcpy_chk: symbol not found
Source
- https://github.com/tursodatabase/libsql-client-ts/issues/180
Maintainer review
No maintainer verification is recorded for this version.
This records the version a maintainer checked. It does not assert that the version is the latest upstream release.