FS#43007 - [vtk] building with cmake broken: /usr/bin/ld: cannot find -lQt5::Widgets

Attached to Project: Community Packages
Opened by Daniel Canelhas (dcanelhas) - Thursday, 04 December 2014, 16:51 GMT
Last edited by Andrzej Giniewicz (Giniu) - Saturday, 06 December 2014, 09:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andrzej Giniewicz (Giniu)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Building a program using cmake with vtk is broken, cmake can't find qt5::Widgets on which vtk seems to depend. This causes a linking error.
(This was working in vtk-6.1.0-2)

Additional info:
* package version(s)
vtk-6.1.0-4

* config and/or log files etc.
cmake output:

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:12 (add_executable):
Policy CMP0028 is not set: Double colon in target name means ALIAS or
IMPORTED target. Run "cmake --help-policy CMP0028" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

Target "vtkbug" links to target "Qt5::Widgets" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/danielcanelhas/workspace/vtkbug2/build


Make output:

/usr/bin/cmake -H/home/danielcanelhas/workspace/vtkbug2 -B/home/danielcanelhas/workspace/vtkbug2/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/danielcanelhas/workspace/vtkbug2/build/CMakeFiles /home/danielcanelhas/workspace/vtkbug2/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/danielcanelhas/workspace/vtkbug2/build'
make -f CMakeFiles/vtkbug.dir/build.make CMakeFiles/vtkbug.dir/depend
make[2]: Entering directory '/home/danielcanelhas/workspace/vtkbug2/build'
cd /home/danielcanelhas/workspace/vtkbug2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/danielcanelhas/workspace/vtkbug2 /home/danielcanelhas/workspace/vtkbug2 /home/danielcanelhas/workspace/vtkbug2/build /home/danielcanelhas/workspace/vtkbug2/build /home/danielcanelhas/workspace/vtkbug2/build/CMakeFiles/vtkbug.dir/DependInfo.cmake --color=
Scanning dependencies of target vtkbug
make[2]: Leaving directory '/home/danielcanelhas/workspace/vtkbug2/build'
make -f CMakeFiles/vtkbug.dir/build.make CMakeFiles/vtkbug.dir/build
make[2]: Entering directory '/home/danielcanelhas/workspace/vtkbug2/build'
/usr/bin/cmake -E cmake_progress_report /home/danielcanelhas/workspace/vtkbug2/build/CMakeFiles 1
[100%] Building CXX object CMakeFiles/vtkbug.dir/main.cpp.o
/usr/bin/c++ -I/usr/include/vtk-6.1 -I/usr/include/python2.7 -I/usr/include/freetype2 -I/usr/include/libxml2 -o CMakeFiles/vtkbug.dir/main.cpp.o -c /home/danielcanelhas/workspace/vtkbug2/main.cpp
Linking CXX executable vtkbug
/usr/bin/cmake -E cmake_link_script CMakeFiles/vtkbug.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/vtkbug.dir/main.cpp.o -o vtkbug -rdynamic -lz /usr/lib/libvtkCommonTransforms-6.1.so.1 /usr/lib/libvtkCommonCore-6.1.so.1 /usr/lib/libvtksys-6.1.so.1 /usr/lib/libvtkCommonMath-6.1.so.1 /usr/lib/libvtkImagingSources-6.1.so.1 /usr/lib/libvtkImagingCore-6.1.so.1 /usr/lib/libvtkCommonExecutionModel-6.1.so.1 /usr/lib/libvtkCommonDataModel-6.1.so.1 /usr/lib/libvtkCommonMisc-6.1.so.1 /usr/lib/libvtkCommonSystem-6.1.so.1 /usr/lib/libvtkWrappingPython27Core-6.1.so.1 -lpython2.7 /usr/lib/libvtkWrappingTools-6.1.a /usr/lib/libvtkIOMPIParallel-6.1.so.1 /usr/lib/libvtkIOGeometry-6.1.so.1 /usr/lib/libvtkIOCore-6.1.so.1 /usr/lib/libvtkjsoncpp-6.1.so.1 /usr/lib/libvtkParallelMPI-6.1.so.1 /usr/lib/libvtkParallelCore-6.1.so.1 /usr/lib/libvtkIOLegacy-6.1.so.1 /usr/lib/libvtkViewsGeovis-6.1.so.1 /usr/lib/libvtkGeovisCore-6.1.so.1 /usr/lib/libvtkIOXML-6.1.so.1 /usr/lib/libvtkIOXMLParser-6.1.so.1 -lexpat /usr/lib/libvtkInfovisLayout-6.1.so.1 /usr/lib/libvtkFiltersModeling-6.1.so.1 /usr/lib/libvtkFiltersGeneral-6.1.so.1 /usr/lib/libvtkCommonComputationalGeometry-6.1.so.1 /usr/lib/libvtkFiltersCore-6.1.so.1 /usr/lib/libvtkFiltersSources-6.1.so.1 /usr/lib/libvtkImagingHybrid-6.1.so.1 /usr/lib/libvtkIOImage-6.1.so.1 /usr/lib/libvtkDICOMParser-6.1.so.1 /usr/lib/libvtkmetaio-6.1.so.1 -ljpeg -lpng -ltiff /usr/lib/libvtkInfovisCore-6.1.so.1 /usr/lib/libvtkFiltersExtraction-6.1.so.1 /usr/lib/libvtkFiltersStatistics-6.1.so.1 /usr/lib/libvtkImagingFourier-6.1.so.1 /usr/lib/libvtkalglib-6.1.so.1 /usr/lib/libvtkInteractionStyle-6.1.so.1 /usr/lib/libvtkRenderingCore-6.1.so.1 /usr/lib/libvtkFiltersGeometry-6.1.so.1 /usr/lib/libvtkInteractionWidgets-6.1.so.1 /usr/lib/libvtkFiltersHybrid-6.1.so.1 /usr/lib/libvtkImagingGeneral-6.1.so.1 /usr/lib/libvtkRenderingAnnotation-6.1.so.1 /usr/lib/libvtkImagingColor-6.1.so.1 /usr/lib/libvtkRenderingFreeType-6.1.so.1 -lfreetype /usr/lib/libvtkftgl-6.1.so.1 /usr/lib/libvtkRenderingVolume-6.1.so.1 /usr/lib/libvtkRenderingOpenGL-6.1.so.1 /usr/lib/libvtkViewsCore-6.1.so.1 /usr/lib/libvtkproj4-6.1.so.1 /usr/lib/libvtkViewsInfovis-6.1.so.1 /usr/lib/libvtkChartsCore-6.1.so.1 /usr/lib/libvtkCommonColor-6.1.so.1 /usr/lib/libvtkRenderingContext2D-6.1.so.1 /usr/lib/libvtkFiltersImaging-6.1.so.1 /usr/lib/libvtkRenderingLabel-6.1.so.1 /usr/lib/libvtkImagingStencil-6.1.so.1 /usr/lib/libvtkFiltersTexture-6.1.so.1 /usr/lib/libvtkIOMINC-6.1.so.1 /usr/lib/libvtkNetCDF-6.1.so.1 /usr/lib/libvtkNetCDF_cxx-6.1.so.1 -lhdf5 -lhdf5_hl -lpthread -ldl -lm /usr/lib/libvtkexoIIc-6.1.so.1 /usr/lib/libvtkxdmf2-6.1.so.1 -lxml2 /usr/lib/libvtkFiltersAMR-6.1.so.1 /usr/lib/libvtkIOAMR-6.1.so.1 /usr/lib/libvtkTestingGenericBridge-6.1.so.1 /usr/lib/libvtkIOExodus-6.1.so.1 /usr/lib/libvtkInteractionImage-6.1.so.1 /usr/lib/libvtkFiltersProgrammable-6.1.so.1 /usr/lib/libvtkRenderingGL2PS-6.1.so.1 /usr/lib/libvtkgl2ps-6.1.so.1 /usr/lib/libvtkImagingMath-6.1.so.1 /usr/lib/libvtkGUISupportQtWebkit-6.1.so.1 /usr/lib/libvtkViewsQt-6.1.so.1 /usr/lib/libvtkGUISupportQt-6.1.so.1 /usr/lib/libvtkRenderingVolumeAMR-6.1.so.1 /usr/lib/libvtkRenderingImage-6.1.so.1 /usr/lib/libvtkLocalExample-6.1.so.1 /usr/lib/libvtkFiltersReebGraph-6.1.so.1 /usr/lib/libvtkFiltersSMP-6.1.so.1 /usr/lib/libvtkFiltersParallelStatistics-6.1.so.1 /usr/lib/libvtkFiltersHyperTree-6.1.so.1 /usr/lib/libvtkDomainsChemistry-6.1.so.1 /usr/lib/libvtkViewsContext2D-6.1.so.1 /usr/lib/libvtkRenderingVolumeOpenGL-6.1.so.1 /usr/lib/libvtksqlite-6.1.so.1 /usr/lib/libvtkRenderingLIC-6.1.so.1 /usr/lib/libvtkGUISupportQtSQL-6.1.so.1 /usr/lib/libvtkIOSQL-6.1.so.1 /usr/lib/libvtkPythonInterpreter-6.1.so.1 /usr/lib/libvtkIOPLY-6.1.so.1 /usr/lib/libvtkIOXdmf2-6.1.so.1 /usr/lib/libvtkIOMySQL-6.1.so.1 /usr/lib/libvtkVPIC-6.1.so.1 /usr/lib/libvtkRenderingParallel-6.1.so.1 /usr/lib/libvtkFiltersParallel-6.1.so.1 /usr/lib/libvtkIOParallel-6.1.so.1 /usr/lib/libvtkIONetCDF-6.1.so.1 /usr/lib/libvtkIOMPIImage-6.1.so.1 /usr/lib/libvtkFiltersFlowPaths-6.1.so.1 /usr/lib/libvtkImagingStatistics-6.1.so.1 /usr/lib/libvtkFiltersGeneric-6.1.so.1 /usr/lib/libvtkFiltersParallelFlowPaths-6.1.so.1 /usr/lib/libvtkRenderingQt-6.1.so.1 /usr/lib/libvtkIOImport-6.1.so.1 /usr/lib/libvtkTestingIOSQL-6.1.so.1 /usr/lib/libvtkFiltersParallelMPI-6.1.so.1 /usr/lib/libvtkIOVPIC-6.1.so.1 /usr/lib/libvtkRenderingParallelLIC-6.1.so.1 /usr/lib/libvtkRenderingLOD-6.1.so.1 -ltheoraenc -ltheoradec -logg /usr/lib/libvtkIOEnSight-6.1.so.1 /usr/lib/libvtkIOFFMPEG-6.1.so.1 /usr/lib/libvtkIOMovie-6.1.so.1 /usr/lib/libvtkIOPostgreSQL-6.1.so.1 /usr/lib/libvtkIOParallelLSDyna-6.1.so.1 /usr/lib/libvtkIOLSDyna-6.1.so.1 /usr/lib/libvtkIOGDAL-6.1.so.1 /usr/lib/libvtkIOVideo-6.1.so.1 /usr/lib/libvtkTestingRendering-6.1.so.1 /usr/lib/libvtkFiltersParallelGeometry-6.1.so.1 /usr/lib/libvtkverdict-6.1.so.1 /usr/lib/libvtkRenderingFreeTypeFontConfig-6.1.so.1 /usr/lib/libvtkIOInfovis-6.1.so.1 /usr/lib/libvtkImagingMorphological-6.1.so.1 /usr/lib/libvtkIOGeoJSON-6.1.so.1 /usr/lib/libvtkFiltersVerdict-6.1.so.1 /usr/lib/libvtkRenderingMatplotlib-6.1.so.1 /usr/lib/libvtkIOExport-6.1.so.1 /usr/lib/libvtkWrappingJava-6.1.so.1 /usr/lib/libvtkIOParallelNetCDF-6.1.so.1 /usr/lib/libvtkRenderingFreeTypeOpenGL-6.1.so.1 /usr/lib/libvtkFiltersSelection-6.1.so.1 /usr/lib/libvtkFiltersParallelImaging-6.1.so.1 /usr/lib/libvtkGUISupportQtOpenGL-6.1.so.1 /usr/lib/libvtkInfovisBoostGraphAlgorithms-6.1.so.1 /usr/lib/libvtkIOODBC-6.1.so.1 /usr/lib/libvtkIOParallelExodus-6.1.so.1 /usr/lib/libvtkViewsInfovis-6.1.so.1 /usr/lib/libvtkInfovisLayout-6.1.so.1 /usr/lib/libvtkChartsCore-6.1.so.1 /usr/lib/libvtkCommonColor-6.1.so.1 /usr/lib/libvtkViewsCore-6.1.so.1 /usr/lib/libvtkInteractionWidgets-6.1.so.1 /usr/lib/libvtkFiltersHybrid-6.1.so.1 /usr/lib/libvtkRenderingVolume-6.1.so.1 /usr/lib/libvtkxdmf2-6.1.so.1 -lxml2 /usr/lib/libvtkFiltersAMR-6.1.so.1 /usr/lib/libvtkFiltersFlowPaths-6.1.so.1 /usr/lib/libvtkFiltersTexture-6.1.so.1 /usr/lib/libvtkVPIC-6.1.so.1 /usr/lib/libvtkRenderingLIC-6.1.so.1 -ltheoraenc -ltheoradec -logg /usr/lib/libvtkverdict-6.1.so.1 /usr/lib/libvtkPythonInterpreter-6.1.so.1 -lpython2.7 /usr/lib/libvtkRenderingAnnotation-6.1.so.1 /usr/lib/libvtkImagingColor-6.1.so.1 /usr/lib/libvtkRenderingLabel-6.1.so.1 /usr/lib/libvtkRenderingGL2PS-6.1.so.1 /usr/lib/libvtkRenderingContext2D-6.1.so.1 /usr/lib/libvtkgl2ps-6.1.so.1 -lpng /usr/lib/libvtkParallelMPI-6.1.so.1 /usr/lib/libvtkRenderingFreeType-6.1.so.1 /usr/lib/libvtkftgl-6.1.so.1 -lfreetype /usr/lib/libvtkFiltersImaging-6.1.so.1 /usr/lib/libvtkImagingGeneral-6.1.so.1 /usr/lib/libvtkImagingSources-6.1.so.1 /usr/lib/libvtkFiltersParallel-6.1.so.1 /usr/lib/libvtkFiltersModeling-6.1.so.1 /usr/lib/libvtkGUISupportQt-6.1.so.1 /usr/lib/libvtkInteractionStyle-6.1.so.1 /usr/lib/libvtkRenderingOpenGL-6.1.so.1 /usr/lib/libvtkImagingHybrid-6.1.so.1 /usr/lib/libvtkIOImage-6.1.so.1 /usr/lib/libvtkDICOMParser-6.1.so.1 /usr/lib/libvtkmetaio-6.1.so.1 /usr/lib/libvtkRenderingCore-6.1.so.1 /usr/lib/libvtkFiltersSources-6.1.so.1 /usr/lib/libvtkFiltersGeometry-6.1.so.1 -lGL -lSM -lICE -lX11 -lXext -lXt -lQt5::Widgets /usr/lib/libvtkInfovisCore-6.1.so.1 /usr/lib/libvtkFiltersExtraction-6.1.so.1 /usr/lib/libvtkFiltersStatistics-6.1.so.1 /usr/lib/libvtkImagingFourier-6.1.so.1 /usr/lib/libvtkImagingCore-6.1.so.1 /usr/lib/libvtkalglib-6.1.so.1 /usr/lib/libvtkIOSQL-6.1.so.1 /usr/lib/libvtksqlite-6.1.so.1 -lpthread /usr/lib/libvtkParallelCore-6.1.so.1 /usr/lib/libvtkIOLegacy-6.1.so.1 /usr/lib/libvtkIOExodus-6.1.so.1 /usr/lib/libvtkIOXML-6.1.so.1 /usr/lib/libvtkIOGeometry-6.1.so.1 /usr/lib/libvtkjsoncpp-6.1.so.1 /usr/lib/libvtkIOXMLParser-6.1.so.1 /usr/lib/libvtkIOCore-6.1.so.1 /usr/lib/libvtkFiltersGeneral-6.1.so.1 /usr/lib/libvtkCommonComputationalGeometry-6.1.so.1 /usr/lib/libvtkFiltersCore-6.1.so.1 /usr/lib/libvtkCommonExecutionModel-6.1.so.1 /usr/lib/libvtkCommonDataModel-6.1.so.1 /usr/lib/libvtkCommonTransforms-6.1.so.1 /usr/lib/libvtkCommonMisc-6.1.so.1 /usr/lib/libvtkCommonMath-6.1.so.1 /usr/lib/libvtkCommonSystem-6.1.so.1 /usr/lib/libvtkCommonCore-6.1.so.1 /usr/lib/libvtksys-6.1.so.1 -ldl /usr/lib/libvtkexoIIc-6.1.so.1 /usr/lib/libvtkNetCDF_cxx-6.1.so.1 /usr/lib/libvtkNetCDF-6.1.so.1 -lz -lhdf5 -lhdf5_hl -lpthread -ldl -lm -lm
/usr/bin/ld: cannot find -lQt5::Widgets
collect2: error: ld returned 1 exit status
CMakeFiles/vtkbug.dir/build.make:332: recipe for target 'vtkbug' failed
make[2]: *** [vtkbug] Error 1
make[2]: Leaving directory '/home/danielcanelhas/workspace/vtkbug2/build'
CMakeFiles/Makefile2:63: recipe for target 'CMakeFiles/vtkbug.dir/all' failed
make[1]: *** [CMakeFiles/vtkbug.dir/all] Error 2
make[1]: Leaving directory '/home/danielcanelhas/workspace/vtkbug2/build'
Makefile:79: recipe for target 'all' failed
make: *** [all] Error 2


Steps to reproduce:

copy the following into CMakeLists.txt and main.cpp and do
cmake . && make

##CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
PROJECT("vtkbug")
SET( CMAKE_VERBOSE_MAKEFILE ON)

if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

find_package(VTK REQUIRED)
include_directories(${VTK_INCLUDE_DIRS})

add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} ${VTK_LIBRARIES})
##EOF




//main.cpp
#include <vtkFloatArray.h>
int main(int argc, char const *argv[])
{
return 0;
}
//EOF

This task depends upon

Closed by  Andrzej Giniewicz (Giniu)
Saturday, 06 December 2014, 09:14 GMT
Reason for closing:  Fixed
Comment by Andrzej Giniewicz (Giniu) - Thursday, 04 December 2014, 20:38 GMT
It should be Qt5Widgets, not Qt5::Widgets afaik. I will look into it, but it won't be today. I've already spent 3 hours building vtk today :/
Comment by Andrzej Giniewicz (Giniu) - Thursday, 04 December 2014, 21:15 GMT
This Qt5::Widgets is for some reason added to VTKTargets.cmake, even though it isn't found during build and Qt5Widgets is correctly found instead. I have no idea how to fix this, so I will just make vtk use qt4, which had different naming scheme, and there is only one possibility to include its libraries in there.
Comment by Daniel Canelhas (dcanelhas) - Thursday, 04 December 2014, 21:35 GMT
I don't know the first thing about packaging, but since it works fine in vtk-6.1.0-2 I'm assuming the answer is in the changes made since then.

I see that 6.1.0-3 removed qt5-base as a dependency and added qt5-tools; could this be it?
Comment by Andrzej Giniewicz (Giniu) - Thursday, 04 December 2014, 21:50 GMT
Please test vtk-6.1.0-5. If you have other idea on how to fix it (other than switching to qt4) I'd be happy to hear it. If not, we will consider this fixed for now (I added todo for it to PKGBUILD).
Comment by Andrzej Giniewicz (Giniu) - Thursday, 04 December 2014, 21:54 GMT
switch from qt5-base to qt5-tools is not it, because qt5-base is needed for example by qt5-xmlpatterns, which is needed by qt5-declarative, which is needed by qt5-location, which is needed by qt5-webkit, which is needed by qt5-tools.

The bug appeared when we started building more modules per request  FS#42996  - and it seems, that one of those modules, that wasn't built earlier, caused it (i.e. before, Qt5Widgets were not used).

So reverting the change will also revert  FS#42996  - so we need some real bug fix, or we just keep with qt4 for now.
Comment by Daniel Canelhas (dcanelhas) - Thursday, 04 December 2014, 22:37 GMT
Whatever change is in the latest version worked, but I had to install unixodbc and gdal to avoid the errors as below, so I'm guessing they're not-so-optional anymore?

/usr/bin/cmake -H/home/danielcanelhas/workspace/vtkbug2 -B/home/danielcanelhas/workspace/vtkbug2/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/danielcanelhas/workspace/vtkbug2/build/CMakeFiles /home/danielcanelhas/workspace/vtkbug2/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/danielcanelhas/workspace/vtkbug2/build'
make -f CMakeFiles/vtkbug.dir/build.make CMakeFiles/vtkbug.dir/depend
make[2]: Entering directory '/home/danielcanelhas/workspace/vtkbug2/build'
cd /home/danielcanelhas/workspace/vtkbug2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/danielcanelhas/workspace/vtkbug2 /home/danielcanelhas/workspace/vtkbug2 /home/danielcanelhas/workspace/vtkbug2/build /home/danielcanelhas/workspace/vtkbug2/build /home/danielcanelhas/workspace/vtkbug2/build/CMakeFiles/vtkbug.dir/DependInfo.cmake --color=
Scanning dependencies of target vtkbug
make[2]: Leaving directory '/home/danielcanelhas/workspace/vtkbug2/build'
make -f CMakeFiles/vtkbug.dir/build.make CMakeFiles/vtkbug.dir/build
make[2]: Entering directory '/home/danielcanelhas/workspace/vtkbug2/build'
/usr/bin/cmake -E cmake_progress_report /home/danielcanelhas/workspace/vtkbug2/build/CMakeFiles 1
[100%] Building CXX object CMakeFiles/vtkbug.dir/main.cpp.o
/usr/bin/c++ -I/usr/include/vtk-6.1 -I/usr/include/python2.7 -I/usr/include/freetype2 -I/usr/include/libxml2 -o CMakeFiles/vtkbug.dir/main.cpp.o -c /home/danielcanelhas/workspace/vtkbug2/main.cpp
Linking CXX executable vtkbug
/usr/bin/cmake -E cmake_link_script CMakeFiles/vtkbug.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/vtkbug.dir/main.cpp.o -o vtkbug -rdynamic -lz /usr/lib/libvtkCommonTransforms-6.1.so.1 /usr/lib/libvtkCommonCore-6.1.so.1 /usr/lib/libvtksys-6.1.so.1 /usr/lib/libvtkCommonMath-6.1.so.1 /usr/lib/libvtkImagingSources-6.1.so.1 /usr/lib/libvtkImagingCore-6.1.so.1 /usr/lib/libvtkCommonExecutionModel-6.1.so.1 /usr/lib/libvtkCommonDataModel-6.1.so.1 /usr/lib/libvtkCommonMisc-6.1.so.1 /usr/lib/libvtkCommonSystem-6.1.so.1 /usr/lib/libvtkWrappingPython27Core-6.1.so.1 -lpython2.7 /usr/lib/libvtkWrappingTools-6.1.a /usr/lib/libvtkIOMPIParallel-6.1.so.1 /usr/lib/libvtkIOGeometry-6.1.so.1 /usr/lib/libvtkIOCore-6.1.so.1 /usr/lib/libvtkjsoncpp-6.1.so.1 /usr/lib/libvtkParallelMPI-6.1.so.1 /usr/lib/libvtkParallelCore-6.1.so.1 /usr/lib/libvtkIOLegacy-6.1.so.1 /usr/lib/libvtkViewsGeovis-6.1.so.1 /usr/lib/libvtkGeovisCore-6.1.so.1 /usr/lib/libvtkIOXML-6.1.so.1 /usr/lib/libvtkIOXMLParser-6.1.so.1 -lexpat /usr/lib/libvtkInfovisLayout-6.1.so.1 /usr/lib/libvtkFiltersModeling-6.1.so.1 /usr/lib/libvtkFiltersGeneral-6.1.so.1 /usr/lib/libvtkCommonComputationalGeometry-6.1.so.1 /usr/lib/libvtkFiltersCore-6.1.so.1 /usr/lib/libvtkFiltersSources-6.1.so.1 /usr/lib/libvtkImagingHybrid-6.1.so.1 /usr/lib/libvtkIOImage-6.1.so.1 /usr/lib/libvtkDICOMParser-6.1.so.1 /usr/lib/libvtkmetaio-6.1.so.1 -ljpeg -lpng -ltiff /usr/lib/libvtkInfovisCore-6.1.so.1 /usr/lib/libvtkFiltersExtraction-6.1.so.1 /usr/lib/libvtkFiltersStatistics-6.1.so.1 /usr/lib/libvtkImagingFourier-6.1.so.1 /usr/lib/libvtkalglib-6.1.so.1 /usr/lib/libvtkInteractionStyle-6.1.so.1 /usr/lib/libvtkRenderingCore-6.1.so.1 /usr/lib/libvtkFiltersGeometry-6.1.so.1 /usr/lib/libvtkInteractionWidgets-6.1.so.1 /usr/lib/libvtkFiltersHybrid-6.1.so.1 /usr/lib/libvtkImagingGeneral-6.1.so.1 /usr/lib/libvtkRenderingAnnotation-6.1.so.1 /usr/lib/libvtkImagingColor-6.1.so.1 /usr/lib/libvtkRenderingFreeType-6.1.so.1 -lfreetype /usr/lib/libvtkftgl-6.1.so.1 /usr/lib/libvtkRenderingVolume-6.1.so.1 /usr/lib/libvtkRenderingOpenGL-6.1.so.1 /usr/lib/libvtkViewsCore-6.1.so.1 /usr/lib/libvtkproj4-6.1.so.1 /usr/lib/libvtkViewsInfovis-6.1.so.1 /usr/lib/libvtkChartsCore-6.1.so.1 /usr/lib/libvtkCommonColor-6.1.so.1 /usr/lib/libvtkRenderingContext2D-6.1.so.1 /usr/lib/libvtkFiltersImaging-6.1.so.1 /usr/lib/libvtkRenderingLabel-6.1.so.1 /usr/lib/libvtkImagingStencil-6.1.so.1 /usr/lib/libvtkFiltersTexture-6.1.so.1 /usr/lib/libvtkIOMINC-6.1.so.1 /usr/lib/libvtkNetCDF-6.1.so.1 /usr/lib/libvtkNetCDF_cxx-6.1.so.1 -lhdf5 -lhdf5_hl -lpthread -ldl -lm /usr/lib/libvtkexoIIc-6.1.so.1 /usr/lib/libvtkxdmf2-6.1.so.1 -lxml2 /usr/lib/libvtkFiltersAMR-6.1.so.1 /usr/lib/libvtkIOAMR-6.1.so.1 /usr/lib/libvtkTestingGenericBridge-6.1.so.1 /usr/lib/libvtkIOExodus-6.1.so.1 /usr/lib/libvtkInteractionImage-6.1.so.1 /usr/lib/libvtkFiltersProgrammable-6.1.so.1 /usr/lib/libvtkRenderingGL2PS-6.1.so.1 /usr/lib/libvtkgl2ps-6.1.so.1 /usr/lib/libvtkImagingMath-6.1.so.1 /usr/lib/libvtkGUISupportQtWebkit-6.1.so.1 /usr/lib/libvtkViewsQt-6.1.so.1 /usr/lib/libvtkGUISupportQt-6.1.so.1 /usr/lib/libvtkRenderingVolumeAMR-6.1.so.1 /usr/lib/libvtkRenderingImage-6.1.so.1 /usr/lib/libvtkLocalExample-6.1.so.1 /usr/lib/libvtkFiltersReebGraph-6.1.so.1 /usr/lib/libvtkFiltersSMP-6.1.so.1 /usr/lib/libvtkFiltersParallelStatistics-6.1.so.1 /usr/lib/libvtkFiltersHyperTree-6.1.so.1 /usr/lib/libvtkDomainsChemistry-6.1.so.1 /usr/lib/libvtkViewsContext2D-6.1.so.1 /usr/lib/libvtkRenderingVolumeOpenGL-6.1.so.1 /usr/lib/libvtksqlite-6.1.so.1 /usr/lib/libvtkRenderingLIC-6.1.so.1 /usr/lib/libvtkGUISupportQtSQL-6.1.so.1 /usr/lib/libvtkIOSQL-6.1.so.1 /usr/lib/libvtkPythonInterpreter-6.1.so.1 /usr/lib/libvtkIOPLY-6.1.so.1 /usr/lib/libvtkIOXdmf2-6.1.so.1 /usr/lib/libvtkIOMySQL-6.1.so.1 /usr/lib/libvtkVPIC-6.1.so.1 /usr/lib/libvtkRenderingParallel-6.1.so.1 /usr/lib/libvtkFiltersParallel-6.1.so.1 /usr/lib/libvtkIOParallel-6.1.so.1 /usr/lib/libvtkIONetCDF-6.1.so.1 /usr/lib/libvtkIOMPIImage-6.1.so.1 /usr/lib/libvtkFiltersFlowPaths-6.1.so.1 /usr/lib/libvtkImagingStatistics-6.1.so.1 /usr/lib/libvtkFiltersGeneric-6.1.so.1 /usr/lib/libvtkFiltersParallelFlowPaths-6.1.so.1 /usr/lib/libvtkRenderingQt-6.1.so.1 /usr/lib/libvtkIOImport-6.1.so.1 /usr/lib/libvtkTestingIOSQL-6.1.so.1 /usr/lib/libvtkFiltersParallelMPI-6.1.so.1 /usr/lib/libvtkIOVPIC-6.1.so.1 /usr/lib/libvtkRenderingParallelLIC-6.1.so.1 /usr/lib/libvtkRenderingLOD-6.1.so.1 -ltheoraenc -ltheoradec -logg /usr/lib/libvtkIOEnSight-6.1.so.1 /usr/lib/libvtkIOFFMPEG-6.1.so.1 /usr/lib/libvtkIOMovie-6.1.so.1 /usr/lib/libvtkIOPostgreSQL-6.1.so.1 /usr/lib/libvtkIOParallelLSDyna-6.1.so.1 /usr/lib/libvtkIOLSDyna-6.1.so.1 /usr/lib/libvtkIOGDAL-6.1.so.1 /usr/lib/libvtkIOVideo-6.1.so.1 /usr/lib/libvtkTestingRendering-6.1.so.1 /usr/lib/libvtkFiltersParallelGeometry-6.1.so.1 /usr/lib/libvtkverdict-6.1.so.1 /usr/lib/libvtkRenderingFreeTypeFontConfig-6.1.so.1 /usr/lib/libvtkIOInfovis-6.1.so.1 /usr/lib/libvtkImagingMorphological-6.1.so.1 /usr/lib/libvtkIOGeoJSON-6.1.so.1 /usr/lib/libvtkFiltersVerdict-6.1.so.1 /usr/lib/libvtkRenderingMatplotlib-6.1.so.1 /usr/lib/libvtkIOExport-6.1.so.1 /usr/lib/libvtkWrappingJava-6.1.so.1 /usr/lib/libvtkIOParallelNetCDF-6.1.so.1 /usr/lib/libvtkRenderingFreeTypeOpenGL-6.1.so.1 /usr/lib/libvtkFiltersSelection-6.1.so.1 /usr/lib/libvtkFiltersParallelImaging-6.1.so.1 /usr/lib/libvtkGUISupportQtOpenGL-6.1.so.1 /usr/lib/libvtkInfovisBoostGraphAlgorithms-6.1.so.1 /usr/lib/libvtkIOODBC-6.1.so.1 /usr/lib/libvtkIOParallelExodus-6.1.so.1 /usr/lib/libvtkViewsInfovis-6.1.so.1 /usr/lib/libvtkInfovisLayout-6.1.so.1 /usr/lib/libvtkChartsCore-6.1.so.1 /usr/lib/libvtkCommonColor-6.1.so.1 /usr/lib/libvtkViewsCore-6.1.so.1 /usr/lib/libvtkInteractionWidgets-6.1.so.1 /usr/lib/libvtkFiltersHybrid-6.1.so.1 /usr/lib/libvtkRenderingVolume-6.1.so.1 /usr/lib/libvtkxdmf2-6.1.so.1 -lxml2 /usr/lib/libvtkFiltersAMR-6.1.so.1 /usr/lib/libvtkFiltersFlowPaths-6.1.so.1 /usr/lib/libvtkFiltersTexture-6.1.so.1 /usr/lib/libvtkVPIC-6.1.so.1 /usr/lib/libvtkRenderingLIC-6.1.so.1 -ltheoraenc -ltheoradec -logg /usr/lib/libvtkverdict-6.1.so.1 /usr/lib/libvtkPythonInterpreter-6.1.so.1 -lpython2.7 /usr/lib/libvtkRenderingAnnotation-6.1.so.1 /usr/lib/libvtkImagingColor-6.1.so.1 /usr/lib/libvtkRenderingLabel-6.1.so.1 /usr/lib/libvtkRenderingGL2PS-6.1.so.1 /usr/lib/libvtkRenderingContext2D-6.1.so.1 /usr/lib/libvtkgl2ps-6.1.so.1 -lpng /usr/lib/libvtkParallelMPI-6.1.so.1 /usr/lib/libvtkRenderingFreeType-6.1.so.1 /usr/lib/libvtkftgl-6.1.so.1 -lfreetype /usr/lib/libvtkFiltersImaging-6.1.so.1 /usr/lib/libvtkImagingGeneral-6.1.so.1 /usr/lib/libvtkImagingSources-6.1.so.1 /usr/lib/libvtkFiltersParallel-6.1.so.1 /usr/lib/libvtkFiltersModeling-6.1.so.1 /usr/lib/libvtkGUISupportQt-6.1.so.1 /usr/lib/libvtkInteractionStyle-6.1.so.1 /usr/lib/libvtkRenderingOpenGL-6.1.so.1 /usr/lib/libvtkImagingHybrid-6.1.so.1 /usr/lib/libvtkIOImage-6.1.so.1 /usr/lib/libvtkDICOMParser-6.1.so.1 /usr/lib/libvtkmetaio-6.1.so.1 /usr/lib/libvtkRenderingCore-6.1.so.1 /usr/lib/libvtkFiltersSources-6.1.so.1 /usr/lib/libvtkFiltersGeometry-6.1.so.1 -lGL -lSM -lICE -lX11 -lXext -lXt -lQtGui -lQtNetwork -lQtCore /usr/lib/libvtkInfovisCore-6.1.so.1 /usr/lib/libvtkFiltersExtraction-6.1.so.1 /usr/lib/libvtkFiltersStatistics-6.1.so.1 /usr/lib/libvtkImagingFourier-6.1.so.1 /usr/lib/libvtkImagingCore-6.1.so.1 /usr/lib/libvtkalglib-6.1.so.1 /usr/lib/libvtkIOSQL-6.1.so.1 /usr/lib/libvtksqlite-6.1.so.1 -lpthread /usr/lib/libvtkParallelCore-6.1.so.1 /usr/lib/libvtkIOLegacy-6.1.so.1 /usr/lib/libvtkIOExodus-6.1.so.1 /usr/lib/libvtkIOXML-6.1.so.1 /usr/lib/libvtkIOGeometry-6.1.so.1 /usr/lib/libvtkjsoncpp-6.1.so.1 /usr/lib/libvtkIOXMLParser-6.1.so.1 /usr/lib/libvtkIOCore-6.1.so.1 /usr/lib/libvtkFiltersGeneral-6.1.so.1 /usr/lib/libvtkCommonComputationalGeometry-6.1.so.1 /usr/lib/libvtkFiltersCore-6.1.so.1 /usr/lib/libvtkCommonExecutionModel-6.1.so.1 /usr/lib/libvtkCommonDataModel-6.1.so.1 /usr/lib/libvtkCommonTransforms-6.1.so.1 /usr/lib/libvtkCommonMisc-6.1.so.1 /usr/lib/libvtkCommonMath-6.1.so.1 /usr/lib/libvtkCommonSystem-6.1.so.1 /usr/lib/libvtkCommonCore-6.1.so.1 /usr/lib/libvtksys-6.1.so.1 -ldl /usr/lib/libvtkexoIIc-6.1.so.1 /usr/lib/libvtkNetCDF_cxx-6.1.so.1 /usr/lib/libvtkNetCDF-6.1.so.1 -lz -lhdf5 -lhdf5_hl -lpthread -ldl -lm -lm
/usr/bin/ld: warning: libpq.so.5, needed by /usr/lib/libvtkIOPostgreSQL-6.1.so.1, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgdal.so.1, needed by /usr/lib/libvtkIOGDAL-6.1.so.1, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libodbc.so.2, needed by /usr/lib/libvtkIOODBC-6.1.so.1, not found (try using -rpath or -rpath-link)
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQresultStatus'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLFetchScroll'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::GetFieldAsString(int)'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQresultErrorMessage'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLColAttribute'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQnfields'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQgetvalue'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLGetData'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQclear'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRPolygon::getInteriorRing(int)'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQconnectdb'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLNumResultCols'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLFreeStmt'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRDataSource::DestroyDataSource(OGRDataSource*)'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFree'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRRegisterAll'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQfformat'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRPolygon::getExteriorRing()'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQfinish'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLBindParameter'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLFetch'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::DestroyFeature(OGRFeature*)'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQerrorMessage'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLSetEnvAttr'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLCloseCursor'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRGeometryCollection::getGeometryRef(int)'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLDriverConnect'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLGetDiagRec'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLTables'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQresStatus'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLDescribeCol'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLPrepare'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRSFDriverRegistrar::Open(char const*, int, OGRSFDriver**)'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQftype'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLSetConnectAttr'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLEndTran'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLFreeHandle'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQstatus'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRGeometryCollection::getNumGeometries() const'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRLineString::getZ(int) const'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `CPLGetLastErrorMsg'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLExecute'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::GetGeometryRef()'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQntuples'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQfname'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLNumParams'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLSetStmtAttr'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRPolygon::getNumInteriorRings() const'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLDisconnect'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLAllocHandle'
/usr/lib/libvtkIOODBC-6.1.so.1: undefined reference to `SQLColumns'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRSpatialReference::exportToWkt(char**) const'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::GetFieldAsDouble(int)'
/usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::GetFieldAsInteger(int)'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQgetisnull'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQexec'
/usr/lib/libvtkIOPostgreSQL-6.1.so.1: undefined reference to `PQescapeStringConn'
collect2: error: ld returned 1 exit status
CMakeFiles/vtkbug.dir/build.make:335: recipe for target 'vtkbug' failed
make[2]: *** [vtkbug] Error 1
make[2]: Leaving directory '/home/danielcanelhas/workspace/vtkbug2/build'
CMakeFiles/Makefile2:63: recipe for target 'CMakeFiles/vtkbug.dir/all' failed
make[1]: *** [CMakeFiles/vtkbug.dir/all] Error 2
make[1]: Leaving directory '/home/danielcanelhas/workspace/vtkbug2/build'
Makefile:79: recipe for target 'all' failed
make: *** [all] Error 2


Comment by Andrzej Giniewicz (Giniu) - Thursday, 04 December 2014, 22:56 GMT
Thanks for report and testing. I will look into it tomorrow.
Comment by Andrzej Giniewicz (Giniu) - Friday, 05 December 2014, 16:21 GMT
should be ok with 6.1.0-6, can you check if all works for you as expected?
Comment by Daniel Canelhas (dcanelhas) - Friday, 05 December 2014, 20:57 GMT
It seems to be fine now, I didn't uninstall the dependencies, but I see they're not optional in the current package so they would have been pulled in anyway. Thanks for your work.

Loading...