how to add a shared lib in C?

http://www.cprogramming.com/tutorial/shared-libraries-linux-gcc.html

Basically, 2 steps: 1) make the lib. 2) put the lib in /usr/lib and ldconfig (update the loader config).

That's it.

posted @ 2014-09-17 07:39  zmiao  阅读(95)  评论(0编辑  收藏  举报