Xorg Libraries

Introduction to Xorg Libraries

The Xorg libraries provide library routines that are used within all X Window applications.

Package Information

Additional Downloads

Xorg Libraries Dependencies

Required

Ed-0.2, Fontconfig-2.3.2, pkg-config-0.20, and Xorg Protocol Headers

Optional

Linux-PAM-0.99.4.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7Libraries

Downloading Xorg Libraries

To download the needed files using wget, use the following commands:

wget http://anduin.linuxfromscratch.org/files/BLFS/xorg/lib-7.1.wget &&
mkdir lib &&
cd lib &&
wget -B http://xorg.freedesktop.org/releases/individual/lib/ \
     -i ../lib-7.1.wget

Installation of Xorg Libraries

Security vulnerabilities have been identified in the libXfont package. Before building this package with the commands shown below, be sure to apply the supplied patches. This can be accomplished with with the following command:

patch -Np1 -i ../libXfont-1.1.0-cidfonts-1.patch

Install the libraries by running the following commands for each of the chosen packages:

./configure $XORG_CONFIG &&
make

These packages do not provide test suites.

Now as the root user:

make install &&
ldconfig

Configuration of Xorg Libraries

If you've chosen to install Xorg into /usr, then no further configuration is necessary and you can skip the rest of this section. If you've opted for an alternate prefix, you should create two symlinks to satisfy the expected environment of several packages. Execute the following commands as the root user:

ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &&
ln -sv $XORG_PREFIX/include/X11 /usr/include/X11

Last updated on 2007-01-23 13:00:33 -0600