# Supplying rpath to shared libraries for symbols inserted during LLVM pass

**URL:** https://discourse.julialang.org/t/supplying-rpath-to-shared-libraries-for-symbols-inserted-during-llvm-pass/2517
**Category:** Internals & Design
**Tags:** question
**Created:** [March 7, 2017, 12:21pm UTC](https://discourse.julialang.org/t/supplying-rpath-to-shared-libraries-for-symbols-inserted-during-llvm-pass/2517 "2017-03-07T12:21:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![singam-sanjay](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/singam-sanjay/32/1721_2.png) [@singam-sanjay](https://discourse.julialang.org/u/singam-sanjay)
#### Post date: [March 7, 2017, 12:21pm UTC](https://discourse.julialang.org/t/supplying-rpath-to-shared-libraries-for-symbols-inserted-during-llvm-pass/2517/1 "2017-03-07T12:21:20Z")

</div>

Hello,

I need to supply the path to a shared library (libGPURuntime.so) for functions calls generated during the Polly pass. For clang I use the options “-ldl -lGPURuntime -Wl,-rpath,/path/to/loc/of/lib/file”. How can I replicate this for Julia ?

Thank You,  
Sanjay Srivallabh
