# ROOT Install error "libvectorDict.so"

**URL:** <https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449>\
**Category:** ROOT\
**Created:** [August 25, 2021, 5:25pm UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449 "2021-08-25T17:25:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/matt/32/30804_2.png) [@matt](https://root-forum.cern.ch/u/matt)\
**Post date:** [August 25, 2021, 5:25pm UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/1 "2021-08-25T17:25:28Z")

</div>

_ROOT Version:_ 6.20.04  
_Platform:_ Ubuntu 20.04  
_Compiler:_ CXX

* * *

Dear root expert,

I tried installing ROOT 6.20.04 on Ubuntu 20.04 with Pythia6 and GSL using the cmake.

Configured as :  
_cmake -Dgdml=ON -Dbuiltin\_gsl=OFF -Dmathmore=ON -Dpythia6=ON -Dgsl\_shared=ON -DGSL\_ROOT\_DIR=/home/matt/test/support/gsl2.5 -DGSL\_CONFIG\_EXECUTABLE=/home/matt/test/support/gsl2.5/bin/gsl-config -DLIBXML2\_DIR= /home/matt/test/support/libxml2 -DLIBXML2\_EXECUTABLE=/home/matt/test/support/libxml2/bin/xml2-config -DPYTHIA6\_LIBRARY=/home/matt/test/support/pythia6/libPythia6.so -DCMAKE\_INSTALL\_PREFIX=/home/matt/test/support/root-build/ …/root-6.20.04/_

After successfully configuring and make.  
I got an error for **make install** :  
**CMake Error at core/clingutils/cmake\_install.cmake:51 (file):**  
\*\* file INSTALL cannot find\*\*  
\*\* “/home/matt/test/support/root-build/lib/libvectorDict.so”: No such file or\*\*  
\*\* directory.\*\*  
**Call Stack (most recent call first):**  
\*\* core/cmake\_install.cmake:70 (include)\*\*  
\*\* cmake\_install.cmake:199 (include)\*\*

**make: \*\*\* [Makefile:140: install] Error 1**

I check the solution [https://root-forum.cern.ch/t/error-with-libvectordict-so/39097](https://root-forum.cern.ch/t/error-with-libvectordict-so/39097) but I wanted to build it with pythia6 and GSL(not using gsl library from cernlib) for GENIE.

Also, I tried the same as here [https://root-forum.cern.ch/t/root-6-22-02-installation-error-cannot-find-libvectordict-so/42162/8](https://root-forum.cern.ch/t/root-6-22-02-installation-error-cannot-find-libvectordict-so/42162/8) but still get the same error.

Can anyone please help me out?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [August 26, 2021, 7:59am UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/2 "2021-08-26T07:59:42Z")

</div>

Hi @matt ,  
could you please check whether the problem is still present in ROOT v6.24.02 , and if so does it really depend on the presence of Pythia6 and GLS? Do you need _both_ for the problem to appear, and do they have to not be built-ins for the problem to appear?

@Axel might know what might cause this.

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![Marooz\_Malik](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@Marooz\_Malik](https://root-forum.cern.ch/u/Marooz_Malik)\
**Post date:** [August 28, 2021, 4:36pm UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/3 "2021-08-28T16:36:48Z")

</div>

For Pythia, you can do the opposite. Build ROOT and then configure, make Pythia again. It worked perfectly for me.

---

<div class="post-metadata">

**Author:** ![matt](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/matt/32/30804_2.png) [@matt](https://root-forum.cern.ch/u/matt)\
**Post date:** [August 29, 2021, 6:17pm UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/4 "2021-08-29T18:17:19Z")

</div>

Hello,

Thanks for the reply.

I apologise for the late reply.

I do tried the version 6.24.02. I got exactly the same error.

Regarding the Pythia6 and GSL, if I am not wrong it was suggested not to used the inbuilt library for GSL( ie. cern gsl lib).

---

<div class="post-metadata">

**Author:** ![matt](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/matt/32/30804_2.png) [@matt](https://root-forum.cern.ch/u/matt)\
**Post date:** [August 29, 2021, 6:21pm UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/5 "2021-08-29T18:21:10Z")

</div>

Hi,

Thanks for the suggestions.

But should I configure ROOT again after this step?

I do need to link the **libPythia6.so** file while configuring root which is a requirement for GENIE installation.

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [August 30, 2021, 8:23am UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/6 "2021-08-30T08:23:27Z")

</div>

Hi @matt ,  
we would need a recipe to reproduce this, or we have to debug this at a distance with your help.

Do you need both Pythia6 and GSL for the problem to appear? Is it enough that GSL is built-in for the problem to disappear?

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![matt](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/matt/32/30804_2.png) [@matt](https://root-forum.cern.ch/u/matt)\
**Post date:** [August 30, 2021, 5:22pm UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/7 "2021-08-30T17:22:29Z")

</div>

Hi @eguiraud ,

Thanks alot.

Yes,I need both Pythia6 and GSL.

Here is the cmake command I need (It might be more clear)

_**cmake -Dgdml=ON -Dbuiltin\_gsl=OFF -Dmathmore=ON -Dpythia6=ON -Droofit=ON -DGSL\_DIR=/home/matt/GENIE/support/gsl2.5  
-DGSL\_CONFIG\_EXECUTABLE=/home/matt/GENIE/support/gsl2.5/bin/gsl-config -DPYTHIA6\_LIBRARY=/home/matt/GENIE/support/pythia6428/libPythia6.so -DCMAKE\_INSTALL\_PREFIX=/home/matt/GENIE/support/root-build/ …/root-6.20.04/**_

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [August 31, 2021, 7:35am UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/8 "2021-08-31T07:35:26Z")

</div>

Hi @matt ,  
sorry I probably wasn’t clear, my question is whether the problem is only present with GLS _and_ Pythia6 turned on, or one of them is enough to reproduce it, or none of them.

Also do you need 6.20.04? Otherwise it might be worth trying with the more recent 6.24.04.

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [August 31, 2021, 8:21am UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/9 "2021-08-31T08:21:22Z")

</div>

What’s your build directory - the directory in which you ran `cmake`?

And there’s a space after the `=` in `-DLIBXML2_DIR= /home/matt/test/support/libxml2` that might be fatal…

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [September 14, 2021, 8:22am UTC](https://root-forum.cern.ch/t/root-install-error-libvectordict-so/46449/10 "2021-09-14T08:22:16Z")

</div>

Closed on September 14, 2021, 8:22am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
