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

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:


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.

I see the same thing.

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).

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.