/usr/lib/libqgissqlanyconnection.so is in libqgis-dev 2.4.0-1+b1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/libqgissqlanyconnection.so.2.4.0
/usr/lib/libqgissqlanyconnection.so.2.4.0