Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I install new dynamically linked shared libraries?

0
Posted

How do I install new dynamically linked shared libraries?

0

These instructions apply regardless of how you build a dynamically linked shared library: • If your library will be used by programs that run in single user mode (when /usr is not yet mounted), you should install your library in the /shlib directory. If it’s an X library, then put it in /usr/X11R6/lib. Otherwise, the standard locations are /usr/contrib/lib or /usr/lib. All of these directories are in the standard shared library path in /etc/ld.so.conf. If you use the standard make headers, the LIBDIR variable and the /etc/shlib.map file control the location of the dynamically linked shared library (see above). • After you install a new shared library (that is, if you did not merely overwrite an existing shared library), you must run the ldconfig program as the superuser in order to rebuild the /etc/ld.so.cache database that the dynamic linker queries when it searches for shared libraries.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123