How to configure Linux for Emdros use

Introduction

This page describes how to set up your linker on Linux so that it finds the Emdros shared libraries.

ld.so

The ld.so(8) linker is the system component responsible for linking in shared libraries. By default, it looks in a number of standard directories for shared libraries. There are two ways to configure this:

  • Edit the /etc/ld.so.conf file by adding the directories that should be searched, or
  • Set the LD_LIBRARY_PATH environment variable to point to the directories that should be searched in addition to the ones in /etc/ldd.conf.

Setting LD_LIBRARY_PATH

In order to set the LD_LIBRARY_PATH variable, you can do the following (in the bash shell):

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/emdros"

Previous:Windows
Up:Libraries
Next:How to build shared libraries