Tenzin Rigden created ARROW-5440:
------------------------------------

             Summary: 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
         Environment: CentOS Linux release 7.6.1810 (Core) 
            Reporter: Tenzin Rigden
         Attachments: parquet-test-libstd.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.

```

[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
```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to