-
Notifications
You must be signed in to change notification settings - Fork 42
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
strcpy_chk: symbol not found #180
Comments
I've just hit this when upgrading from v0.2.0 to v0.3.x. It looks like the v0.2.0:
v0.3.1:
v0.3.2:
Symbols such as Checking the commit history I suspect tursodatabase/libsql-js@e325e78 that introduced neon-bindings/neon-rs@9903c95 is a possible cause. |
As a workaround we downgrading from |
This reverts commit e325e78, which is suspected to cause problems with musl: tursodatabase/libsql-client-ts#180
Thanks for looking into this, @lovell! Unfortunately, the |
f61e2c1 should fix this. |
Thanks for the updates, the
The |
@lovell is the issue fixed? |
@RA9 This problem remains and now there are duplicate reports appearing e.g. tursodatabase/libsql-js#91 The summary is that the |
Ran into this problem while trying to build a astro application with the db integration. Wont build using node:lts-alpine
|
@lovell does it mean we (Alpine users) must stick to v0.3.0 version? |
@flexchar That is my understanding, yes, but I'm only the messenger here. You'll need to ask one of the maintainers about the future possible re-introduction of support for musl-based Linux. |
Hey @penberg, should this issue be reopened? It doesn’t seem like the above proposed fix actually solved whatever the issue is for musl builds :/ |
Same problem. node 18 alpine. |
@LukaGiorgadze not sure if it works for your setup, but I am using yarn v3 and as such can ensure I am using a version of libsql that works with alpine by adding this to the root package.json of my monorepo. "resolutions": {
"@libsql/linux-x64-musl@npm:0.3.15": "0.2.0"
}, For npm-users i guess |
When is the release for this issue scheduled?? |
Tried, but did not work :/ |
@LukaGiorgadze |
fix hanging querings needed to switch image base because of tursodatabase/libsql-client-ts#180
fix hanging querings needed to switch image base because of tursodatabase/libsql-client-ts#180
fix hanging querings needed to switch image base because of tursodatabase/libsql-client-ts#180
fix hanging querings needed to switch image base because of tursodatabase/libsql-client-ts#180
This reverts commit e325e78, which is suspected to cause problems with musl: tursodatabase/libsql-client-ts#180
Can this be reopened, because this issue is still happening |
Issue still persists up to this date |
Same here, getting the error in a nextjs app usign the @libsql/client version 0.6.0
|
If some of you are using the Alpine distribution of Node for docker-izing an app with Libsql, I suggest migrating to the Bookworm distribution that fixed my issue and I can now use the latest version of libsql client. I am currently using Node 20 Bookworm for a docker-ized NextJS app with libsql client. |
It's a workaround, but not a solution. Bookworm, bullseye or even distroless images work but are consuming more RAM compare to Alpine (15/20% more). In environment where you want to control cost on memory usage, Alpine is still the most optimised. PS: You can probably use |
I'm getting this currently with |
We are also getting this with the |
I resolved it by overriding
|
I did some digging it looks like there were some larger issues with our Rust/C code that we built the js library (which TS uses). This PR should fix those issues and subsequent TS/Js issues tursodatabase/libsql#1724 |
v0.4.3 of |
I'm trying to package my API into a docker image, using
node:20-alpine
.Running my app leads to
It might be an issue with glibc/musl. See this issue
Do the libsql team have an opinion of what type of distribution I should use?
Dockerfile
The text was updated successfully, but these errors were encountered: