How To Use Etc Ld So Conf
Change to and use root as the root directory l.
How to use etc ld so conf. Ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line in the file etc ld so conf and in the trusted directories lib and usr lib. Searching all these directories everytime the executable is run can be time consuming. How to load the library path in the etc ld so conf d. So the dynamic linker maintains links to the shared libraries and an index of these links in a cache file named etc ld so. The cache is used by the run time linker ld so or ld linux so.
Hi i want to add a couple of paths to ldconfig and my plan is to put them in etc ld so conf d oracle conf. Use the specified cache instead of etc ld so cache r. Include etc ld so conf d conf include foo. Use the specified config file instead of etc ld so conf c. Now we will run the ldconfig p command to read configuration file and rebuild the cache.
We will add the library path with include command. So some process which load the library path in etc ld so conf d. My question is do you put them in. Print the lists of directories and candidate libraries stored in the current cache. This is library mode which manually links individual libraries p print cache.
The final content will be like below. When i start it use service start or start in init d. Can t be launched by this service. It can t load config which has stored in etc ld so conf d.