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.
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.
转载于:https://www.cnblogs.com/miaoz/p/3976333.html