# VTK Commom Core Error while building Paraview from source

**URL:** https://discourse.paraview.org/t/vtk-commom-core-error-while-building-paraview-from-source/11841
**Category:** ParaView Support
**Created:** [April 11, 2023, 3:51am UTC](https://discourse.paraview.org/t/vtk-commom-core-error-while-building-paraview-from-source/11841 "2023-04-11T03:51:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Muhammad\_Saad\_Atique](https://discourse.paraview.org/user_avatar/discourse.paraview.org/muhammad_saad_atique/32/11159_2.png) [@Muhammad\_Saad\_Atique](https://discourse.paraview.org/u/Muhammad_Saad_Atique)
#### Post date: [April 11, 2023, 3:51am UTC](https://discourse.paraview.org/t/vtk-commom-core-error-while-building-paraview-from-source/11841/1 "2023-04-11T03:51:38Z")

</div>

Hi, I am getting this error when I build Paraview from source. I was able to build it last week and even run custom applications. I had to build it again due to some reason but getting this error now

```auto

[198/21274] Generating the wrap hierarchy for VTK::CommonCore FAILED: lib/vtk/hierarchy/ParaView
/vtkCommonCore-hierarchy.txt /Users/msa/paraview_build/lib/vtk/hierarchy/ParaView/vtkCommonCore-hierarchy.txt cd /Users/msa/paraview_build/VTK/Common/Core && /Users/msa/paraview_build
/bin/vtkWrapHierarchy-pv5.11 @/Users/msa/paraview_build/VTK/Common/Core/CMakeFiles
/vtkCommonCore-hierarchy.Release.args -o /Users/msa/paraview_build/lib/vtk/hierarchy/ParaView
/vtkCommonCore-hierarchy.txt /Users/msa/paraview_build/VTK/Common/Core/CMakeFiles
/vtkCommonCore-hierarchy.data @/Users/msa/paraview_build/VTK/Common/Core/CMakeFiles
/vtkCommonCore-hierarchy.depends.args /bin/sh: line 1: 88112 Segmentation fault: 11 /Users
/msa/paraview_build/bin/vtkWrapHierarchy-pv5.11 @/Users/msa/paraview_build/VTK/Common
/Core/CMakeFiles/vtkCommonCore-hierarchy.Release.args -o /Users/msa/paraview_build/lib/vtk
/hierarchy/ParaView/vtkCommonCore-hierarchy.txt /Users/msa/paraview_build/VTK/Common
/Core/CMakeFiles/vtkCommonCore-hierarchy.data @/Users/msa/paraview_build/VTK/Common
/Core/CMakeFiles/vtkCommonCore-hierarchy.depends.args [207/21274] Building CXX object 
VTK/Common/Core/CMakeFiles/CommonCore.dir/vtkDataArray.cxx.o ninja: build stopped: subcommand 
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: [April 11, 2023, 7:10am UTC](https://discourse.paraview.org/t/vtk-commom-core-error-while-building-paraview-from-source/11841/2 "2023-04-11T07:10:47Z")

</div>

this does not contain the actual error.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [April 23, 2023, 11:56pm UTC](https://discourse.paraview.org/t/vtk-commom-core-error-while-building-paraview-from-source/11841/3 "2023-04-23T23:56:26Z")

</div>

It does have a problem, but without a backtrace, it’s not clear what might be the actual cause.

> [@Muhammad\_Saad\_Atique](#):
>
> `/bin/sh: line 1: 88112 Segmentation fault: 11`

---

<div class="post-metadata">

### Author: ![Muhammad\_Saad\_Atique](https://discourse.paraview.org/user_avatar/discourse.paraview.org/muhammad_saad_atique/32/11159_2.png) [@Muhammad\_Saad\_Atique](https://discourse.paraview.org/u/Muhammad_Saad_Atique)
#### Post date: [April 24, 2023, 1:18am UTC](https://discourse.paraview.org/t/vtk-commom-core-error-while-building-paraview-from-source/11841/4 "2023-04-24T01:18:03Z")

</div>

I was able to figure out the issue. I had build Paraview before as well but had to build it again due to some reason. The LD\_LIBRARY\_PATH was already set and I believe it was interfering with the new build.  
Once I cleared the LD\_LIBRARY\_PATH I was able to resolve this issue.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [April 24, 2023, 1:40am UTC](https://discourse.paraview.org/t/vtk-commom-core-error-while-building-paraview-from-source/11841/5 "2023-04-24T01:40:46Z")

</div>

Ah, yep, that’s a common one…`LD_LIBRARY_PATH` settings should really be in `module load` or shell-local things.
