On some Unix-like operating systems, the pvs command displays the internal version information of dynamic objects within an ELF file.

Description

Commonly, ELF files are dynamic executables and shared objects, and possibly relocatable objects. This version information can fall into one of the following two categories:

  • Description
  • Syntax
  • Examples
  • Related commands
  • Linux commands help

Version definitions described the interface made available by an ELF file. Each version definition is associated to a set of global symbols provided by the file.

Version dependencies describe the binding requirements of dynamic objects on the version definition of any shared object dependencies. When a dynamic object is built with a shared object, the link-editor records information in the dynamic object indicating that the shared object is a dependency.

Syntax

pvs [-d] [-l] [-n] [-o] [-r] [-s] [-v] [-N name] file

Options

Examples

pvs -d /usr/lib/libelf.so.1

Display version definition of the ELF file libelf.so.1

ld — Link editor for object files.ldd — List dynamic dependencies of executable files or shared objects.