# Trouble with shared libraries ROOT v6\_18\_04d on ubuntu 20.04

**URL:** <https://root-forum.cern.ch/t/trouble-with-shared-libraries-root-v6-18-04d-on-ubuntu-20-04/48057>\
**Category:** Newbie\
**Created:** [December 14, 2021, 8:57am UTC](https://root-forum.cern.ch/t/trouble-with-shared-libraries-root-v6-18-04d-on-ubuntu-20-04/48057 "2021-12-14T08:57:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farrukh](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/779978/32.png) [@Farrukh](https://root-forum.cern.ch/u/Farrukh)\
**Post date:** [December 14, 2021, 8:57am UTC](https://root-forum.cern.ch/t/trouble-with-shared-libraries-root-v6-18-04d-on-ubuntu-20-04/48057/1 "2021-12-14T08:57:52Z")

</div>

Dear Folks

I succesfully installed cvmfs on ubuntu laptop and then attempted to use root  
. /cvmfs/larsoft.opensciencegrid.org/products/setup  
which root  
/cvmfs/larsoft.opensciencegrid.org/products/root/v6\_18\_04d/Linux64bit+3.10-2.17-e19-prof/bin/root  
root  
and I get the following error :  
cvmfs/larsoft.opensciencegrid.org/products/root/v6\_18\_04d/Linux64bit+3.10-2.17-e19-prof/bin/root.exe: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

I can’t find a libpcre1 that I can isntall

I’m not sure what to do - I suspect I am getting the appropriate version of root that I should be using with LArSoft - any help/tips will be much appreciated

best wishes  
Farrukh

\_ROOT Version: v6\_18\_04d (whatever comes with LarSoft  
\_Platform: Ubuntu 20.04  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [December 14, 2021, 9:20am UTC](https://root-forum.cern.ch/t/trouble-with-shared-libraries-root-v6-18-04d-on-ubuntu-20-04/48057/2 "2021-12-14T09:20:42Z")

</div>

It seems to me that your ROOT binary distribution was built for “CentOS 7” or some similar system.  
You need to contact the maintainers of LarSoft (maybe they can advise you how to get their software working on Ubuntu 20.04).

If you just need ROOT, take a [pre-compiled binary distribution provided by the ROOT Team](https://root.cern/install/#download-a-pre-compiled-binary-distribution).
