# EGLIBC-&eglibc-version; 64-Bit

## Installation of EGLIBC

The following will cause EGLIBC to use an absolute path to the ldd-rewrite-script instead of a relative path:

    cp -v config.make.in{,.orig}
    sed '/ldd-rewrite-script/s:@:${objdir}/&:' config.make.in.orig > config.make.in

## Configuring Dynamic Loader

By default, the dynamic loader (`/lib/ld.so.1` for 32bit executables `/lib32/ld.so.1` for n32 executables and `/lib64/ld.so.1` for 64bit executables) searches through `/lib` and `/usr/lib` for dynamic libraries that are needed by programs as they are run. However, if there are libraries in directories other than `/lib` and `/usr/lib`, these need to be added to the `/etc/ld.so.conf` file in order for the dynamic loader to find them. Some directories that are commonly known to contain additional libraries are `/usr/local/lib`, `/usr/local/lib32`, `/usr/local/lib64`, `/opt/lib`, `/opt/lib32`, and `/opt/lib64`, so add those directories to the dynamic loader's search path.

Create a new file `/etc/ld.so.conf` by running the following:

    cat > /etc/ld.so.conf << "EOF"
    # Begin /etc/ld.so.conf

    /usr/local/lib
    /usr/local/lib32
    /usr/local/lib64
    /opt/lib
    /opt/lib32
    /opt/lib64

    # End /etc/ld.so.conf
    EOF