libmesh
libmesh copied to clipboard
Fixes a VTK linking issue I experienced with VTK 9.2
I recently installed with VTK 9.2 on my system, and configure failed due a missing symbols from an unrequested library. I think probably happens when the VTK library being used is not the system VTK as otherwise it would likely get picked up automatically. This fixes that issue and I makes the link more pedantic.
Hello @makeclean,
Thanks for pointing out this issue. It looks like you edited the configure script directly, but since this script is generated automatically from the contents of m4 files (in this case m4/vtk.m4), we would need to make your update there, otherwise it would be lost the next time someone runs bootstrap.
If you would like to try this, we have some instructions on how to do it. They are somewhat involved, though so it might be easier if one of the other devs makes the change when they get a chance.
configure failed due a missing symbols from an unrequested library
Could you post the exact configure error? I'm curious as to whether it's just something about your install or whether it's going to hit everyone once all us out-of-date 9.0/9.1 users move up to 9.2.
It looks like libvtksys has been around since at least VTK 5, so hopefully adding it as a linker requirement here won't break any of our really-out-of-date VTK users.
Sorry for taking so long to come back to this, I'm building on our HPC system and I'm hitting the same issues with 9.2, the error message from config.log is;
/usr/bin/ld: /tmp/cc6CtNnI.o: undefined reference to symbol '_ZN6vtksys18SystemToolsManagerD1Ev'
/home/dc-davi4/rds/rds-ukaea-ap001/moose_dev/vtk/lib64/libvtksys-9.2.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
I'll have a bash at doing the m4 files :)
Can also confirm it does not occur with VTK 9.1
Replaced by #3426