Skip to content

Draft: pv-runtime: Create the aliases that would be expected for dev libraries

Simon McVittie requested to merge wip/smcv/dev-lib-symlinks into master

There are typically two symlinks pointing to a shared library: the one used at runtime, such as libdl.so.2, and the one used for compilation, such as libdl.so. Modules that dlopen() a library frequently assume that the development symlink is always going to be available, even though on systems like the Debian and Red Hat families (and hence the Debian-based Steam Runtime), it is usually not.

For example, the libstrangle frame-rate limiter assumes that it can dlopen() libdl.so, and crashes if it cannot.

We can work around this by systematically creating all of the development symlinks.

Merge request reports