gi-inspect-typelib() gi-inspect-typelib()

# [Name](#Name)

gi-inspect-typelib - Typelib inspection tool

# [SYNOPSIS](#SYNOPSIS)

```
gi-inspect-typelib [OPTION…] --print-shlibs NAMESPACE
gi-inspect-typelib [OPTION…] --print-typelibs NAMESPACE
```

# [DESCRIPTION](#DESCRIPTION)

**gi-inspect-typelib** displays information about GObject-Introspection binary typelib files.

# [OPTIONS](#OPTIONS)

[**--print-shlibs**](#print)

Show the shared libraries that implement the *NAMESPACE*.

[**--print-typelibs**](#print~2)

Show the other typelibs that the *NAMESPACE* depends on.

[**--typelib-version**](#typelib)

The version of each *NAMESPACE* to inspect. For example, the version of **Gio-2.0.typelib** is **2.0**. If not specified, use the newest available version if there is more than one installed.

# [EXAMPLE](#EXAMPLE)

On Linux, the **Gio-2.0** typelib is implemented by **libgio-2.0.so.0**:

```
$ gi-inspect-typelib --typelib-version 2.0 --print-shlibs Gio
shlib: libgio-2.0.so.0
```

and it depends on GObject-2.0, GLib-2.0 and GModule-2.0:

```
$ gi-inspect-typelib --typelib-version 2.0 --print-typelibs Gio
typelib: GObject-2.0
typelib: GLib-2.0
typelib: GModule-2.0
```

---

Document: gi-inspect-typelib(1) from glib 2.90.1-r0 (Chainguard OS)
Source: https://gitlab.gnome.org/GNOME/glib.git
