# Version is repeated in the Linux library .so.0 files

**URL:** <https://discourse.vtk.org/t/version-is-repeated-in-the-linux-library-so-0-files/266>\
**Category:** Development\
**Created:** [February 13, 2019, 7:35am UTC](https://discourse.vtk.org/t/version-is-repeated-in-the-linux-library-so-0-files/266 "2019-02-13T07:35:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Post date:** [February 13, 2019, 7:35am UTC](https://discourse.vtk.org/t/version-is-repeated-in-the-linux-library-so-0-files/266/1 "2019-02-13T07:35:40Z")

</div>

Why is **8.90** duplicated in the name: `libvtkCommonColor-8.90.so.8.90.0`?  
I would have expected `libvtkCommonColor-8.90.so.0`.  
It is not just **libvtkCommonColor** following this naming scheme: **libvtk\*-8.90.so.8.90.0**

Here are the links:

```bash

libvtkCommonColor-8.90.so -> libvtkCommonColor-8.90.so.1
libvtkCommonColor-8.90.so.1 -> libvtkCommonColor-8.90.so.8.90.0
libvtkCommonColor-8.90.so.8.90.0
libvtkCommonColorJava.so

```

I did remove all **libvtk** \* files and rebuild.

---

<div class="post-metadata">

**Author:** ![lorensen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lorensen/32/20_2.png) [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Post date:** [February 13, 2019, 3:41pm UTC](https://discourse.vtk.org/t/version-is-repeated-in-the-linux-library-so-0-files/266/2 "2019-02-13T15:41:38Z")

</div>

I see the same thing.

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Post date:** [February 13, 2019, 7:57pm UTC](https://discourse.vtk.org/t/version-is-repeated-in-the-linux-library-so-0-files/266/3 "2019-02-13T19:57:55Z")

</div>

Removing the `VERSION "${VTK_VERSION}"` line from `vtk_module_build` should fix this.

In any case, the repeat can be important. The two copies serve different purposes. The one in the SONAME ensures that 8.2 won’t accidentally get loaded. The last one ensures that 8.90.0 and 8.90.1 can be installed side-by-side (though there are other issues with this, so I’m fine with removing VTK’s usage of the `VERSION` argument).

---

<div class="post-metadata">

**Author:** ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Post date:** [February 14, 2019, 7:19am UTC](https://discourse.vtk.org/t/version-is-repeated-in-the-linux-library-so-0-files/266/4 "2019-02-14T07:19:33Z")

</div>

It just looks strange, if there is a rationale for it, leave it. Now that you have explained it, I understand what’s happening. So I’m happy.
