Simple dynamic loader example
=============================

This is a simple module/loader system for Linux (and maybe other
UNIX). Run `make` to compile everything (Makefile).

* `loader.c` is a program which loads a shared library (.so on linux)
  and calls a function in it (given its name).

* `example.c` is a example shared library (example.so).

Usage
=====

Important: if there is no '/' in the library name, `dlopen` looks for
the library in the system library path, not the current
directory. That's why you have to use './' to load `example.so`.

    $ make
    ...
    $ ./loader ./example.so ex1
    this is example 1
    $ ./loader ./example.so ex2
    this is example 2


See also: man dlopen