On my system:
~ $ readlink -f /usr/pkg/lib/libgdk_pixbuf-2.0.so
/usr/pkg/lib/libgdk_pixbuf-2.0.so.0.4200.6
~ $ pkg_info -Fe $(readlink -f /usr/pkg/lib/libgdk_pixbuf-2.0.so)
gdk-pixbuf2-2.42.6nb1
~ $ pkg_info gdk-pixbuf2
Information for gdk-pixbuf2-2.42.6nb1:
Comment:
Library for image loading and manipulation
Requires:
shared-mime-info>=1.0nb1
glib2>=2.70.2
tiff>=4.0.3nb5
png>=1.6.0nb1
Required by:
gdk-pixbuf2-xlib-2.40.2nb1
gtk3+-3.24.33
gtk2+-2.24.33nb4
dunst-1.5.0nb2
librsvg-2.52.8
libnotify-0.7.9nb4
dino-0.3.0
You can use pkg_delete -f gdk-pixbuf2
to force remove it, and then attempt to reinstall it (either as binary package, or by building it from source). I'd clear the pkgin cache first in the former case. Use pkg_admin check
and pkg_admin rebuild
to get an idea of what's going, by displaying missing shared objects and file checksum mismatches system-wide. Remember never to mix different pkgsrc branches.