[ https://issues.apache.org/jira/browse/ARROW-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662464#comment-17662464 ]
Rok Mihevc commented on ARROW-5440: ----------------------------------- This issue has been migrated to [issue #21893|https://github.com/apache/arrow/issues/21893] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [Rust][Parquet] Rust Parquet requiring libstd-xxx.so dependency on centos > ------------------------------------------------------------------------- > > Key: ARROW-5440 > URL: https://issues.apache.org/jira/browse/ARROW-5440 > Project: Apache Arrow > Issue Type: Bug > Components: Rust > Environment: CentOS Linux release 7.6.1810 (Core) > Reporter: Tenzin Rigden > Priority: Major > Attachments: parquet-test-libstd.tar.gz, serde_json_test.tar.gz > > > Hello, > In the rust parquet implementation ([https://github.com/sunchao/parquet-rs]) > on centos, the binary created has a `libstd-hash.so` shared library > dependency that is causing issues since it's a shared library found in the > rustup directory. This `libstd-hash.so` dependency isn't there on any other > rust binaries I've made before. This dependency means that I can't run this > binary anywhere where rustup isn't installed with that exact libstd library. > This is not an issue on Mac. > I've attached the rust files and here is the command line output below. > {code:java|title=cli-output|borderStyle=solid} > [centos@_ parquet-test]$ cat /etc/centos-release > CentOS Linux release 7.6.1810 (Core) > [centos@_ parquet-test]$ rustc --version > rustc 1.36.0-nightly (e70d5386d 2019-05-27) > [centos@_ parquet-test]$ ldd target/release/parquet-test > linux-vdso.so.1 => (0x00007ffd02fee000) > libstd-44988553032616b2.so => not found > librt.so.1 => /lib64/librt.so.1 (0x00007f6ecd209000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6eccfed000) > libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6eccdd7000) > libc.so.6 => /lib64/libc.so.6 (0x00007f6ecca0a000) > libm.so.6 => /lib64/libm.so.6 (0x00007f6ecc708000) > /lib64/ld-linux-x86-64.so.2 (0x00007f6ecd8b1000) > [centos@_ parquet-test]$ ls -l > ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/libstd-44988553032616b2.so > -rw-r--r--. 1 centos centos 5623568 May 27 21:46 > /home/centos/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/libstd-44988553032616b2.so > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)