Compile under Alpine linux #750
ratermir
started this conversation in
Bugs / Internal Improvements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First question: Is timescaledb-toolkit available for Alpine linux for PG15?
I didn't find such so I tried to compile it on myself, but so far with no success.
Here is the script I used on "pure" alpine linux.
Everything worked until the command
cargo pgx install --release
which returned
error: cannot produce cdylib for `timescaledb_toolkit v1.16.0-dev (/home/psql/timescaledb-toolkit/extension)` as the target `x86_64-unknown-linux-musl` does not support these crate types
Here is the whole console record:
I stepped by the TSDB toolkit documentation 'https://github.com/timescale/timescaledb-toolkit', but I had to change all "pgx" occurances in Cargo.toml to 0.7.4 since with 0.7.1 was not possible to install cargo.
I am completlely new in RUST and PG/TSDB/toolkit building, so if you have any advices, please explain in a little bigger detail.
Beta Was this translation helpful? Give feedback.
All reactions