Creating and using a shared library - pass 1

TOC   Previous   Next

Creating and using a shared library - pass 1 (cont.)

But when we try to execute the program:

$ ./prog
./prog: error in loading shared libraries: 
   libfoo.so: cannot open shared object file: 
   No such file or directory

The library "libfoo.so" could not be resolved at run-time by the dynamic linker (aka: dynamic linking loader).

(C) 2006, Michael Kerrisk