arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lahn <>
Subject Red-arrow Gem Hardcoding Paths in Compiled Library
Date Thu, 28 May 2020 18:16:32 GMT

We are noticing that when the red-arrow gem in Ruby is bundled, the resulting file
has explicit paths for extpp, and thus, if the location changes (after a deployment), those
libraries can no longer be found:


bash-4.2# ldd bundle/ruby/2.7.0/gems/red-arrow-0.17.0/lib/
       => /var/lang/lib/ (0x00007f90ce6fe000)
       => not found
       => /lib64/ (0x00007f90ce4ab000)
       => /lib64/ (0x00007f90ce195000)
       => not found
=> not found
=> not found
       => /lib64/ (0x00007f90cde13000)
       => /lib64/ (0x00007f90cdad3000)
       => /lib64/ (0x00007f90cd728000)
       => /lib64/ (0x00007f90cd512000)
       => /lib64/ (0x00007f90cd2fd000)
       => /lib64/ (0x00007f90cd0df000)
       => /lib64/ (0x00007f90cced7000)
       => /lib64/ (0x00007f90cccd3000)
       => /lib64/ (0x00007f90cca9c000)
                /lib64/ (0x00007f90ceec4000)
       => /lib64/ (0x00007f90cc838000)
       => /lib64/ (0x00007f90cc630000)

Note that these have the full path.

Any ideas of how to avoid this? We are trying to get red-arrow working on AWS Lambda. When
we build, the directory has to change from where it currently is. The codebuild directory
being specified is something out of our control. When the code is deployed, it ends up in
/var/task. This is where vendor needs to be.

David Lahn
DevOps Lead
Privacy Policy


This e-mail is confidential to ForwardPMX intended for use by the recipient. If you received
this in error or are not the intended recipient, you are hereby notified that any review,
retransmission, copying or other use of, or taking of any action in reliance upon this information
is strictly prohibited.

View raw message