Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5440

[Rust][Parquet] Rust Parquet requiring libstd-xxx.so dependency on centos

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Rust
    • Labels:
      None
    • Environment:
      CentOS Linux release 7.6.1810 (Core)

      Description

      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.

      cli-output
      [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
      
      

        Attachments

        1. parquet-test-libstd.tar.gz
          12 kB
          Tenzin Rigden
        2. serde_json_test.tar.gz
          2 kB
          Tenzin Rigden

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rigden33 Tenzin Rigden
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: