Archive for the tag 'Libraries'

SBDavid

Shared Libraries

Shared Libraries

Shared libraries are units of code, such as glibc, which are used by a number of applications and services.
Applications utilizing a shared library typically load the shared code when the application is initialized, so any applications using the updated library must be halted and relaunched.

To determine which running applications link against a particular library, use the lsof command as in the following example:

lsof /lib/libwrap.so*

This command returns a list of all the running programs which use TCP wrappers for host access control. Therefore, any program listed must be halted and relaunched if the tcp_wrappers package is updated.

The latest CentOS 5.3/RHEL 5.3 updates for openssh (openssh-4.3p2-36) introduce the dependency on the libfipscheck.so.1 library supplied by fipscheck-1.0.3-1 RPM, but this RPM is missing in default file system template for ssh.

Log in as root to your PPCPL box.

Open the /etc/virtualhosting/filelists/ssh.sh file using a text editor:

vi /etc/virtualhosting/filelists/ssh.sh

Make sure that the file looks like:

$RPM_BIN -q nss nspr > /dev/null 2>&1 && \
cat <<EOF
S,rpm:nss
S,rpm:nspr
EOF

Reference: http://parallels.com

SBDavid

Shared Libraries

Shared Libraries

Shared libraries are units of code, such as glibc, which are used by a number of applications and services. Applications utilizing a shared library typically load the shared code when the application is initialized, so any applications using the updated library must be halted and relaunched.
To determine which running applications link against a particular library, use the lsof command as in the following example:

Example

$ lsof /lib/libnsl.so.1

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
dbus-laun 3337 jyothis mem REG 8,2 79612 1882725 /lib/libnsl-2.9.so
dbus-daem 3338 jyothis mem REG 8,2 79612 1882725 /lib/libnsl-2.9.so
xscreensa 3343 jyothis mem REG 8,2 79612 1882725 /lib/libnsl-2.9.so
xfce4-ses 3347 jyothis mem REG 8,2 79612 1882725 /lib/libnsl-2.9.so