FS#46346 - [vtk] Linking broken after gdal upgrade to 2.0.0-1
Attached to Project:
Community Packages
Opened by Rafael Reggiani Manzo (manzo) - Saturday, 19 September 2015, 01:06 GMT
Last edited by Ray Rashif (schivmeister) - Wednesday, 23 September 2015, 22:18 GMT
Opened by Rafael Reggiani Manzo (manzo) - Saturday, 19 September 2015, 01:06 GMT
Last edited by Ray Rashif (schivmeister) - Wednesday, 23 September 2015, 22:18 GMT
|
Details
Description:
After running a full system upgrade, linking of VTK starts to return the following error: /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/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::GetFieldAsString(int)' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRPolygon::getInteriorRing(int)' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRPolygon::getExteriorRing()' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFree' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRRegisterAll' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRGeometryCollection::getGeometryRef(int)' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRSFDriverRegistrar::Open(char const*, int, OGRSFDriver**)' /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/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::GetGeometryRef()' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRPolygon::getNumInteriorRings() const' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::GetFieldAsDouble(int)' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRDataSource::DestroyDataSource(OGRDataSource*)' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRFeature::DestroyFeature(OGRFeature*)' /usr/lib/libvtkIOGDAL-6.1.so.1: undefined reference to `OGRGeometryCollection::getNumGeometries() const' /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::GetFieldAsInteger(int)' collect2: error: ld returned 1 exit status CMakeFiles/energy.dir/build.make:373: recipe for target 'energy' failed make[2]: *** [energy] Error 1 CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/energy.dir/all' failed Additional info: This may be just a question to recompile the vtk package against the new version of gdal installed. Steps to reproduce: * Do a full system upgrade (which upgrades gdal) * Compile code that tries to link VTK |
This task depends upon
Closed by Ray Rashif (schivmeister)
Wednesday, 23 September 2015, 22:18 GMT
Reason for closing: Fixed
Additional comments about closing: gdal is a core dependency, there is no way to build without it. A gdal1 has been provided tentatively, but this will conflict with some packages. One has to choose between vtk or those packages.
Wednesday, 23 September 2015, 22:18 GMT
Reason for closing: Fixed
Additional comments about closing: gdal is a core dependency, there is no way to build without it. A gdal1 has been provided tentatively, but this will conflict with some packages. One has to choose between vtk or those packages.
http://www.vtk.org/Bug/view.php?id=15692
Not making a front-page announcement since only a few packages are affected.
edit: Please follow this forum announcement for further updates on this issue https://bbs.archlinux.org/viewtopic.php?pid=1564811
I've upgraded both my desktop and notebook with gdal1 and now both are able to build my code correctly. So I confirm that gdal1, fixes the issue. Though my code does not use gdal, everything fine in my specific case.
I hope you can sort out the packaging issues soon. Thanks again!