libqtgeoservices_googlemaps.so: undefined symbol: _ZN7QGeoMap25fitViewportToGeoRectangleERK13QGeoRectangle

JB2Cool jb2cool at gmail.com
Thu Oct 1 05:45:18 PDT 2020


Strange, i built this just a few days ago on lots of different distros
(Debian Buster (albeit stable) was one of them) and it built just fine. Can
you try cloning the repo to a fresh directory and retrying a build and see
if that is any better. Googling around some have said that by ditching any
previous folders and starting afresh this worked ok.

JB

On Thu, 1 Oct 2020 at 09:07, Cristian Ionescu-Idbohrn via subsurface <
subsurface at subsurface-divelog.org> wrote:

> Any ideas?  This is debian unstable, own build from fresh master:
>
> ...
> Got keys from plugin meta data ("here")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/lib/x86_64-linux-gnu/qt5/plugins/geoservices/libqtgeoservices_osm.so"
> Found metadata in lib
> /usr/lib/x86_64-linux-gnu/qt5/plugins/geoservices/libqtgeoservices_osm.so,
> metadata=
> {
>     "IID": "org.qt-project.qt.geoservice.serviceproviderfactory/5.0",
>     "MetaData": {
>         "Experimental": false,
>         "Features": [
>             "OnlineMappingFeature",
>             "OnlineGeocodingFeature",
>             "ReverseGeocodingFeature",
>             "OnlineRoutingFeature",
>             "OnlinePlacesFeature"
>         ],
>         "Keys": [
>             "osm"
>         ],
>         "Provider": "osm",
>         "Version": 100
>     },
>     "archreq": 0,
>     "className": "QGeoServiceProviderFactoryOsm",
>     "debug": false,
>     "version": 331264
> }
>
>
> Got keys from plugin meta data ("osm")
> QFactoryLoader::QFactoryLoader() checking directory path
> ".../subsurface/build/geoservices" ...
> QFactoryLoader::QFactoryLoader() looking at
> ".../subsurface/build/geoservices/libqtgeoservices_googlemaps.so"
> Found metadata in lib
> .../install-root/usr/lib/x86_64-linux-gnu/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so,
> metadata=
> {
>     "IID": "org.qt-project.qt.geoservice.serviceproviderfactory/5.0",
>     "MetaData": {
>         "Experimental": false,
>         "Features": [
>             "OnlineGeocodingFeature",
>             "ReverseGeocodingFeature",
>             "OnlineRoutingFeature",
>             "AlternativeRoutesFeature",
>             "OnlineMappingFeature",
>             "SearchSuggestionsFeature"
>         ],
>         "Keys": [
>             "googlemaps"
>         ],
>         "Provider": "googlemaps",
>         "Version": 100
>     },
>     "archreq": 0,
>     "className": "QGeoServiceProviderFactoryGooglemaps",
>     "debug": false,
>     "version": 331264
> }
>
>
> Got keys from plugin meta data ("googlemaps")
> Cannot load library
> .../install-root/usr/lib/x86_64-linux-gnu/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so:
> (.../install-root/usr/lib/x86_64-linux-gnu/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so:
> undefined symbol: _ZN7QGeoMap25fitViewportToGeoRectangleERK13QGeoRectangle)
> QLibraryPrivate::loadPlugin failed on
> ".../install-root/usr/lib/x86_64-linux-gnu/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so"
> : "Cannot load library
> .../install-root/usr/lib/x86_64-linux-gnu/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so:
> (.../install-root/usr/lib/x86_64-linux-gnu/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so:
> undefined symbol: _ZN7QGeoMap25fitViewportToGeoRectangleERK13QGeoRectangle)"
> 5 ,  "loader()->instance(idx) failed to return an instance. Set the
> environment variable QT_DEBUG_PLUGINS to see more details."
> qrc:/qml/MapWidget.qml:24: Error: Cannot assign [undefined] to
> QDeclarativeGeoMapType*
> QFactoryLoader::QFactoryLoader() checking directory path
> "/usr/lib/x86_64-linux-gnu/qt5/plugins/accessiblebridge" ...
> QFactoryLoader::QFactoryLoader() checking directory path
> ".../subsurface/build/accessiblebridge" ...
>
>
> Cheers,
>
> --
> Cristian
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20201001/0f96585a/attachment.html>


More information about the subsurface mailing list