"Walter L. Preuninger II" <walterp@rapidramp.com> writes: > to compile the program, I followed the elf-howto and just did a > gcc -o example example.c You'll have to add -lmy_lib on the end of line, if you want to compile example with your shlib libmy_lib.so