# Local hail runtime error: \`GLIBCXX\_3.4.18' not found

**URL:** <https://discuss.hail.is/t/local-hail-runtime-error-glibcxx-3-4-18-not-found/854>\
**Category:** Hail Query & hailctl\
**Created:** [February 9, 2019, 3:38pm UTC](https://discuss.hail.is/t/local-hail-runtime-error-glibcxx-3-4-18-not-found/854 "2019-02-09T15:38:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/vivek/32/249_2.png) [@Vivek](https://discuss.hail.is/u/Vivek)\
**Post date:** [February 9, 2019, 3:38pm UTC](https://discuss.hail.is/t/local-hail-runtime-error-glibcxx-3-4-18-not-found/854/1 "2019-02-09T15:38:16Z")

</div>

I’ve installed hail (with no admin rights) onto a shared drive accessible to an HPC (LSF) cluster. On the head node the install & basic testing in the install went fine, but every time I try to access a local vcf I get this error for an unsatisfied link:

> > > import hail as hl  
> > > mt = hl.import\_vcf(‘/lustre/scratch116/casm/team113/vvi/scratch/temp\_joint\_call\_holder/chr22.22.vcf.gz’, force\_bgz=True)  
> > > mt.rows().select().show(5)  
> > > ERROR: dlopen(“/tmp/libhail7612158981357949992.so”): /usr/lib/x86\_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /tmp/libhail7612158981357949992.so) FATAL: caught exception java.lang.UnsatisfiedLinkError: /tmp/libhail7612158981357949992.so: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX\_3.4.18’ not found (required by /tmp/libhail7612158981357949992.so)  
> > > …  
> > > Hail version: 0.2.9-8588a25687af  
> > > Error summary: SparkException: Job 1 cancelled because SparkContext was shut down

Can someone recommend a way of fixing this that doesn’t need admin rights?  
Thanks  
Vivek

---

<div class="post-metadata">

**Author:** ![Vivek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/vivek/32/249_2.png) [@Vivek](https://discuss.hail.is/u/Vivek)\
**Post date:** [February 9, 2019, 5:12pm UTC](https://discuss.hail.is/t/local-hail-runtime-error-glibcxx-3-4-18-not-found/854/2 "2019-02-09T17:12:49Z")

</div>

Ok, I’ve worked out what to do: I had to alter my LD\_LIBRARY\_PATH to include a modern libstd from a more recent version of gcc (the old version was pointed at libstd from gcc-4.x)

export LD\_LIBRARY\_PATH=/software/hgi/pkglocal/gcc-7.2.0/lib64/:$LD\_LIBRARY\_PATH

- that got around the problem.

---

<div class="post-metadata">

**Author:** ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)\
**Post date:** [February 11, 2019, 10:00am UTC](https://discuss.hail.is/t/local-hail-runtime-error-glibcxx-3-4-18-not-found/854/3 "2019-02-11T10:00:17Z")

</div>

Thanks for posting a solution!
