checkSharedLibs: Check Shared Libraries

Description Usage Arguments Details Value Author(s) Examples

View source: R/libs.R

Description

Check shared libraries on current system

Usage

1
checkSharedLibs(vec, db)

Arguments

vec

A (optional) character vector of shared libraries, typcially with major soname. If missing a default vector is used as fallback.

db

An optional identifier for a library package database, should be one of "18.04" or "19.10".

Details

This function examine the shared libraries in argument vec. It runs ldd on these, filters for “not found” to identify unresolved shared libraries and tries to map these against (stored) information on distribution packages (where Ubuntu 18.04 and 19.10 are currently supported).

The internal helper function .libs() can be used to identify shared libraries from packages in the current .libPaths(). Because search all packages in each .libPaths() entry at once (using shell tools) it does not currently associate finds with the packages they originate from.

Value

Nothing currently but information is printed.

Author(s)

Dirk Eddelbuettel

Examples

1
checkSharedLibs(c("libxml2.so.2"))

eddelbuettel/chshli documentation built on July 27, 2020, 12:35 a.m.