# error while running paraview executable

**URL:** https://discourse.paraview.org/t/error-while-running-paraview-executable/14273
**Category:** ParaView Support
**Created:** [March 27, 2024, 8:51am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273 "2024-03-27T08:51:08Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Woongba](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@Woongba](https://discourse.paraview.org/u/Woongba)
#### Post date: [March 27, 2024, 8:51am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273/1 "2024-03-27T08:51:08Z")

</div>

I installed the paraview v5.12.0 on centos stream 8. When I tried to run paraview, I encountered an error below.

“./bin/paraview: error while loading shared libraries: libtbb.so.12: cannot open shared object file: No such file or directory.”

Actually, I tried to link libtbb.so.12 to libtbb.so.2. It worked but another error occurred like

“./bin/paraview: symbol lookup error: /root/paraview\_build/bin/…/lib64/libvtkParallelMPI4Py-pv5.12.so.1: undefined symbol: PyExc\_ImportError”

So, I just unlinked it because I don’t know what I did is right and the second error also include the “12.so” similar to the first error. Does any one who has a clue about the problem?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 27, 2024, 8:51am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273/2 "2024-03-27T08:51:56Z")

</div>

Do you have `LD_LIBRARY_PATH` set in your env vars ?

---

<div class="post-metadata">

### Author: ![Woongba](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@Woongba](https://discourse.paraview.org/u/Woongba)
#### Post date: [March 27, 2024, 9:00am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273/3 "2024-03-27T09:00:34Z")

</div>

Thank you for reply. I don’t understand your question properly. Should I add something to LD\_LIBRARY\_PATH to run paraview?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 27, 2024, 9:03am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273/4 "2024-03-27T09:03:52Z")

</div>

The symptom you are having shows that the wrong lib are being picked up, so you may want to ensure “LD\_LIBRARY\_PATH” is NOT set.

> I installed the paraview v5.12.0 on centos stream 8.

How did you install it ?

---

<div class="post-metadata">

### Author: ![Woongba](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@Woongba](https://discourse.paraview.org/u/Woongba)
#### Post date: [March 27, 2024, 9:17am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273/5 "2024-03-27T09:17:05Z")

</div>

Mostly, I just followed the link “[https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md](https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md)” for centos 7.

First, I installed packages like  
sudo dnf install python3-devel openmpi-devel mesa-libGL-devel libX11-devel libXt-devel qt5-qtbase-devel qt5-qtx11extras-devel qt5-qttools-devel qt5-qtxmlpatterns-devel tbb-devel git

After that I just followed the link like

git clone [https://gitlab.kitware.com/paraview/paraview.git](https://gitlab.kitware.com/paraview/paraview.git)  
mkdir paraview\_build  
cd paraview  
git checkout v5.12.0  
git submodule update --init --recursive  
cd …/paraview\_build  
cmake -GNinja -DPARAVIEW\_USE\_PYTHON=ON -DPARAVIEW\_USE\_MPI=ON -DVTK\_SMP\_IMPLEMENTATION\_TYPE=TBB -DCMAKE\_BUILD\_TYPE=Release …/paraview

finally I didn’t use ninja but make like

make -j 16

The above is all what I did. After make, I just tried to run paraview but it failed.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 27, 2024, 9:37am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273/6 "2024-03-27T09:37:50Z")

</div>

Any specific reason for you to build ParaView instead of using the paraview binary release from [https://paraview.org/download](https://paraview.org/download) ?

---

<div class="post-metadata">

### Author: ![Woongba](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@Woongba](https://discourse.paraview.org/u/Woongba)
#### Post date: [March 28, 2024, 1:29am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273/7 "2024-03-28T01:29:38Z")

</div>

There was no specific reason. I just thought that they are just different ways to install it.

What is the difference between them?

---

<div class="post-metadata">

### Author: ![Woongba](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@Woongba](https://discourse.paraview.org/u/Woongba)
#### Post date: [March 28, 2024, 1:37am UTC](https://discourse.paraview.org/t/error-while-running-paraview-executable/14273/8 "2024-03-28T01:37:53Z")

</div>

I downloaded binary you said before building it. I just tar it and I can run it without any problem. Thank you very much for your help Mathieu.
