On Thu, Mar 3, 2016 at 9:46 AM, Harshad Sahasrabudhe <hsaha...@purdue.edu>
wrote:

> Hi John,
>
> I re-configured and re-checked that the two flags libmesh_LIBS and LIBS
> were not set in the environment. I have attached the config.log.
>

OK, so I think the extra flags are just coming from our call to
AC_HAVE_LIBRARY:

           AC_HAVE_LIBRARY([vtkIO], [enablevtk=yes], [enablevtk=no],
[-lvtkCommon -lvtkFiltering -lvtkImaging])

We should probably update this since AC_HAVE_LIBRARY is obsolete [1], but
this isn't actually the problem.

The problem is that your version of VTK apparently can't link a main
program against only "-lvtkIO -lvtkCommon -lvtkFiltering -lvtkImaging",
since there are a ton of undefined references:

/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`vtkmetaio::MetaImage::HeaderSize() const'
/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`vtk_TIFFIsTiled'
/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`vtk_zlib_gzread'
/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`vtk_TIFFSetWarningHandler'
/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`vtksys::Glob::FindFiles(std::string const&)'
/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`vtksys::SystemTools::GetFilenameName(std::string const&)'
/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`LSDynaFamily::BufferChunk(LSDynaFamily::WordType, long long)'
/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`vtkmetaio::MetaImage::Modality() const'
/apps/rhel6/vtk/5.10.1/VTK/lib/vtk-5.10/libvtkIO.so: undefined reference to
`vtk_png_set_error_fn'
...
plus many more.

I actually don't know if we've ever tested our configure scripts with VTK
5.10.1, I see a note there about 5.4, but nothing later.  Is there any way
you could try a newer version, like 6.3?  I'm pretty sure that works.

[1]:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html

-- 
John
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to