Tech Junkie Blog - Real World Tutorials, Happy Coding!: Linux Package Management: Create A Cache Shared Libraries Location

Monday, June 13, 2022

Linux Package Management: Create A Cache Shared Libraries Location

 It is useful in Linux to create cached shared Linux libraries especially is you are developing something.  To do that you first have to create a shared library directory inside the extension libraries which is located in the path /etc/ld.so.conf.d , if you run the command ls inside the /etc/ld.so.conf.d you will see that there's already some configuration files within the extension libraries itself






Now let's create a library to contain the shared libraries type in the command mkdir /usr/local/lib/devlibs

What we need to do next is to grab some libraries and put it into the folder we just created, type ldd /bin/bash to get the libraries for bash





Let's copy the /lib64/libtinfo.so.5 into the devlibs folder with the command cp /lib64/libtinfo.so.5 /usr/local/lib/devlibs/ the next thing we need to do is give executable permission to the library so that other programs can execute it, when it's needed with the command chmod +x /usr/local/lib/devlibs/libtinfo.so.5 

Make sure you are in the /etc/ld.so.conf.d/ directory, create a configuration file and name it devlibs.conf with the command vi devlibs.conf and type in the lib folder you've just created, press esc, :x to save the file




We now have update our cache library configuration file located in /etc/ld.so.cache we can't update it manually we have to use the ldconfig command to update it. so type in the command ldconfig to update the cache library configuration.  Now if you run the command ls -l /etc/ld.so.cache you will see that it was updated recently




10 comments:

  1. Good to read this article when starting a blog. Happy to read that is only a limitation in our minds Thanks!

    ReplyDelete
  2. Thanks For Sharing Such Information, Your Article Is Very Useful Works. It Is a Stunning Indeed.

    ReplyDelete
  3. If you are taking business courses related to Business Process Modeling (BPM), Customer Relationship Management (CRM), or Digital Process Automation (DPA), then you might benefit from guided sessions to help you complete an assignment using PEGA. This could be due to your inability to understand, implement, or use PEGA software or even write assignments. When a student is given a task that involves PEGA or Business Process Management, it is essential that they have an understanding of what the topic is about as well as what software they will be using while they are working on the task. The following information has been provided by our PEGA assignment help experts in order to assist you in producing a terrific PEGA assignment designed using the PEGA software.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Apply These 10 Secret Techniques To Improve Bonus -
    An inside look at how the government and pharmaceutical companies joined forces to make it happen. Companies are increasingly recognizing the value of operating as a CSR entity. As part of that, there is an increasing push to invest in strategic partners that are diverse.
    WBENC hosts the country's go-to events for women-owned businesses and those who do business with them. State Business Resources Explore business tools, services, and programs by state or territory. A .gov website belongs to an official government organization in the United States. In all that time, Bougher never had any aspirations to expand or grow the business. See More ExamplesAllowing customers to leave your store unsatisfied is bad business. Feuerstein rose to national prominence when he continued to pay workers after a fire destroyed his Malden Mills factory in December 1995.
    And because many of these features are enabled by default, employees and IT won’t need to perform extensive configurations. November 3, 2021 • The Fed left interest rates near zero on Wednesday but announced plans to start removing some of the support it has provided to the economy as inflation hits its highest point in 30 years. November 4, 2021 • Christmas trees may be in short supply this season due to supply chain issues and extreme weather events.
    https://www.reviewengin.com/category/bonus/

    ReplyDelete
  7. Your blog is really cool and great. raider alicia tomb vikander leather jacket I really appreciate your blog. I am glad to read your blog. Thanks for sharing the nice and cool post. Keep it up. i am waiting for your next blog.

    ReplyDelete
  8. Your content is amazing i learned something new today did you know how effective is regenration? check this out https://rigenerahbw.com

    ReplyDelete
  9. https://www.rsoft.in/industry/real-estate-crm.php
    Real Estate CRM, Real Estate CRM Software, CRM Software for Real Estate, CRM for Real Estate Developers, Real Estate Management Software, Real Estate Software, Real Estate Marketing Software

    ReplyDelete
  10. Easy and fast service management merged with secure and scalable infrastructure. Experience the unlimited freedom to develop with Linux VPS hosting.

    ReplyDelete

Search This Blog