查看库的详细版本号,
yan@localhost:~$ pkg-config --list-all | grep gtk
gtk+-x11-3.0 GTK+ - GTK+ Graphical UI Library
gtk+-3.0 GTK+ - GTK+ Graphical UI Library
gtk+-unix-print-3.0 GTK+ - GTK+ Unix print support
yan@localhost:~$ pkg-config --modversion gtk+-3.0
3.4.2
yan@localhost:~$