Nguyễn Văn Toàn
New member
How do I run a shared library in Linux?
Answer
Once you’ve created a shared library, you’ll want to install it. The simple approach is simply to
copy the library into one of the standard directories (e.g., /usr/lib) and run ldconfig(8). Finally, when you compile your programs, you’ll need to tell the linker about any static and shared libraries that you’re using.
Answer
Once you’ve created a shared library, you’ll want to install it. The simple approach is simply to
copy the library into one of the standard directories (e.g., /usr/lib) and run ldconfig(8). Finally, when you compile your programs, you’ll need to tell the linker about any static and shared libraries that you’re using.