# Paraview 5.11.0 build src error - vtkprotobuf

**URL:** https://discourse.paraview.org/t/paraview-5-11-0-build-src-error-vtkprotobuf/12370
**Category:** ParaView Support
**Created:** [June 22, 2023, 8:02pm UTC](https://discourse.paraview.org/t/paraview-5-11-0-build-src-error-vtkprotobuf/12370 "2023-06-22T20:02:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kmilo9999](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kmilo9999](https://discourse.paraview.org/u/kmilo9999)
#### Post date: [June 22, 2023, 8:02pm UTC](https://discourse.paraview.org/t/paraview-5-11-0-build-src-error-vtkprotobuf/12370/1 "2023-06-22T20:02:37Z")

</div>

Hello,  
I am trying to build paraview 5.11.0 from source but I am getting the following error:

```auto
./../../../lib64/libvtklibprotoc-pv5.11.so.5.11: undefined reference to `google::vtkprotobuf::Descriptor::FindFieldByName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../../../../lib64/libvtklibprotoc-pv5.11.so.5.11: undefined reference to `google::vtkprotobuf::StrCat[abi:cxx11](google::vtkprotobuf::strings::AlphaNum const&, google::vtkprotobuf::strings::AlphaNum const&)'
../../../../lib64/libvtklibprotoc-pv5.11.so.5.11: undefined reference to `google::vtkprotobuf::RepeatedPtrField<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::size() const'

```

I tried to disable the `VTK_MODULE_ENABLE_ParaView_pro` option, but it also fails:

```auto
CMake Error at VTK/CMake/vtkModule.cmake:1038 (message):
   The ParaView::RemotingServerManager module (enabled via `REQUEST_MODULES`)
   requires the disabled module ParaView::protobuf (disabled via a `NO`
   setting (via `VTK_MDDULE_ENABLE_ParaView_protobuf`)).

```

I am using gcc 10.2 on a Linux System.

Any thougths ?

Thanks.

---

<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: [June 23, 2023, 10:28am UTC](https://discourse.paraview.org/t/paraview-5-11-0-build-src-error-vtkprotobuf/12370/2 "2023-06-23T10:28:00Z")

</div>

> [@kmilo9999](#):
>
> I am using gcc 10.2 on a Linux System.

Can you be more precise about your linux setup ?

---

<div class="post-metadata">

### Author: ![kmilo9999](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kmilo9999](https://discourse.paraview.org/u/kmilo9999)
#### Post date: [June 27, 2023, 1:30pm UTC](https://discourse.paraview.org/t/paraview-5-11-0-build-src-error-vtkprotobuf/12370/3 "2023-06-27T13:30:36Z")

</div>

It’s a cluster running on linux-red hat 7.9. There is a protobuf module installed but I think is an old version (3.6). I installed version 21.4 and added the lib path to LD\_LIBRARY\_PATH , but still getting the error.  
The compilation also fails at:

`libvtkCommonCore-pv5.11.so.5.11: undefined reference to vtksys::DynamicLoader::OpenLibrary(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)`

But I am not sure if it’s related to the protobuf issue.  
Any thoughts ?

---

<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: [June 28, 2023, 5:38am UTC](https://discourse.paraview.org/t/paraview-5-11-0-build-src-error-vtkprotobuf/12370/4 "2023-06-28T05:38:09Z")

</div>

ParaView probably find the old protobuf during configuration step. Check your CMakeCache.txt
