Windows install issue VTK lib not found

64 views
Skip to first unread message

David Morrill

unread,
Jan 14, 2020, 7:39:16 PM1/14/20
to InsightCAE
Hi Guys,
Thanks for all your hard work. I'm following the windows Ubuntu installation.

When I try and execute workbench in my user account, I get workbench: error while loading shared libraries: libvtkCommonCore-7.1.so.1: cannot open shared object file: No such file or directory

I tried installing the VTK libraries using a modified version of the build_vtk.sh script, but I don't think I put them in the right place, workbench still can't find them.

1. Should the windows installation instructions take care of this, or do I need to follow the build instructions and set everything up that way?

Any tips on how to resolve this would be great!!

Thanks a lot,
Dave.

Hannes Kroeger

unread,
Jan 15, 2020, 2:25:51 AM1/15/20
to InsightCAE
Hi David,

thanks for the report.

We have just changed to use VTK-7 instead of VTK-6. Seems that something is still wrong with the dependency information in the installation package. I'll fix that ASAP.

Meanwhile you can just try to manually install VTK-7 by executing:
$ sudo apt install libvtk7.1
(I assume, you are using Ubuntu "bionic")

and then check if it works.

Regards, Hannes

David Morrill

unread,
Jan 15, 2020, 6:13:29 PM1/15/20
to InsightCAE
Hi Hannes,
Thanks for the reply.  Using 16.04, so I got an error .  I'm not great with linux.  I'm trying to install it from https://vtk.org/download/ but I'm not sure which one to use.

Any tips?

Error:
dave@Lab2:~$ sudo apt install libvtk7.1
[sudo] password for dave:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libvtk7.1
E: Couldn't find any package by glob 'libvtk7.1'
E: Couldn't find any package by regex 'libvtk7.1'

Hannes Kroeger

unread,
Jan 16, 2020, 12:52:18 AM1/16/20
to InsightCAE
Hi David,

Ok, in the older 16.04 ("xenial"), only vtk6 is natively available. Thus I created the vtk package myself. It is named libvtk7:

$ sudo apt install libvtk7

This should install it from the silentdynamics repository.

Regards, Hannes

Reply all
Reply to author
Forward
0 new messages