You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Reproducible example
I'm working in the docker container. I use the command ln -s /sample_project/target /usercode/sample_project/ to create a symbolic link (symlink) for the target folder then run example/read_csv use cargo run.
I use the command ln -s /sample_project/target /usercode/sample_project/ to create a symbolic link (symlink) for the target folder. The crate itself builds fine, however, example/read_csv causes the linking error while executing the cargo run on Ubuntu 20.04 LTS
Expected behavior
Should be able to run successfully without linking with cc failed like it run successfully on Mac OS.
Installed versions
Cargo.toml:
[dependencies]
polars = { version = "0.33.0", features = ["lazy", "csv"] }
[features]
write_output = ["polars/parquet"]
default = ["write_output"]
The text was updated successfully, but these errors were encountered:
I'm not sure what is missing cause this linking error. I also checked other similar issue 1, issue 2 it seems the linking error is cause by missing packages needed to compile but I didn't see any not find in my log.
Dockerfile(relate to system build):
FROM ubuntu:20.04
# Avoid prompts from apt
ARG DEBIAN_FRONTEND=noninteractive
# Update and install system build dependencies
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
pkg-config \
libssl-dev \
ca-certificates
# Install Rust
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
# Add cargo to PATH
ENV PATH="/root/.cargo/bin:${PATH}"
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Reproducible example
I'm working in the docker container. I use the command ln -s /sample_project/target /usercode/sample_project/ to create a symbolic link (symlink) for the target folder then run
example/read_csv
use cargo run.Cargo.toml:
Log output
Issue description
I use the command
ln -s /sample_project/target /usercode/sample_project/
to create a symbolic link (symlink) for the target folder. The crate itself builds fine, however, example/read_csv causes the linking error while executing the cargo run on Ubuntu 20.04 LTSExpected behavior
Should be able to run successfully without linking with
cc
failed like it run successfully on Mac OS.Installed versions
Cargo.toml:
The text was updated successfully, but these errors were encountered: