This is a bit of a weird one, since none of the libraries in the
qtubuntu-media package actually link to libmediascanner:

    phablet@ubuntu-phablet:~$ dpkg -L qtubuntu-media | grep .so
    /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalmediaplayer.so
    
/usr/lib/arm-linux-gnueabihf/qt5/imports/Ubuntu/Media/libubuntumediaplugin.so
    phablet@ubuntu-phablet:~$ ldd 
/usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalmediaplayer.so | 
grep mediascanner
    phablet@ubuntu-phablet:~$ ldd 
/usr/lib/arm-linux-gnueabihf/qt5/imports/Ubuntu/Media/libubuntumediaplugin.so | 
grep mediascanner
    phablet@ubuntu-phablet:~$ 

While there is certainly some code in the tree using the mediascanner
APIs:

http://bazaar.launchpad.net/~phablet-team/qtubuntu-
media/trunk/view/head:/src/aal/aalmetadatareadercontrol.cpp#L81

That file doesn't appear to be listed in the sources of qmake project
file for the plugin:

http://bazaar.launchpad.net/~phablet-team/qtubuntu-
media/trunk/view/head:/src/aal/aal.pro

While the plugin is being linked with -lmediascanner-2.0, that
dependency is probably ignored due to everything in Ubuntu being linked
using the --as-needed linker flag.

Is it possible that someone added the explicit dependency on
libmediascanner-2.0-3 because they didn't understand why it wasn't being
added automatically?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1500859

Title:
  hard coded dependency on non-existing version of runtime library

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1500859/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to