Cleaning up old shared libraries on NetBSD

From Wikistix
Jump to navigation Jump to search

NetBSD has a focus of maintaining binary compatibility. And so, during system upgrades, system shared libraries with old major numbers are left installed. Old minor versions are cleaned up via postinstall(1). If you wish to remove old major version libraries, a script is present in the NetBSD source repository for doing this:

/usr/src/lib/checkoldver /usr/lib | xargs rm -f

Note that this may break third party binaries, including pkgsrc binaries.

See Also[edit]

Misinformation found herein copyright Paul Ripke (aka “stix”)