Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 706003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:07:03+00:00 2026-05-14T04:07:03+00:00

Redhat 5.5 gcc version 4.1.2 I have a directory call lib, and in that

  • 0

Redhat 5.5
gcc version 4.1.2

I have a directory call lib, and in that directory I have all the shared libraries (about 30) that we get from our customer as we use their API. We link with this API.

directory structure:

/usr/CSAPI/lib

However, our customer will update their API so we get new libraries, normally about 3 or 4.

What I have been doing is when I get new libraries. Is to remove the old one and put in another directory. And replace them with the new libaries in the lib directory.

/usr/CSAPI/Old_libs

The new and old will have the same name. i.e.

libcs.so  < old
libcs.so  < new

Is there a better way to manage this? I was thinking of creating a soft line, but as the names are the same, I am not sure that this will work.

Many thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:07:04+00:00Added an answer on May 14, 2026 at 4:07 am

    Symlinks are a very good way to handle this. I would do something slightly differently. I would create a directory structure like:

    /usr/CSAPI/lib_v1
    /usr/CSAPI/lib_v2
    

    and in each of these I would put the actual files. I would then create a separate directory:

    /usr/CSAPI/lib
    

    which only contains symlinks to the actual files in lib_v1, lib_v2, etc.

    This way lib has the most current version, but if you need, you can use a previous version by simply changing your LD_LIBRARY_PATH.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On RedHat Enterprise Linux 5 the latest Ruby version available via RPM is 1.8.5.
We have a RedHat box with Apache2, PHP5 and MySQL 5 for much of
I've been given sudo access on one of our development RedHat linux boxes, and
I'm using GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu). And this command: echo -e doesn't print
Notice these two RedHat Linux system configuration settings: $ getconf GNU_LIBC_VERSION glibc 2.3.4 $
I'm trying to do a file system backup of a RedHat Enterprise Linux v4
I need to write a Red Hat Linux command line tool that launches a
I'm experiencing an issue on a test machine running Red Hat Linux (kernel version
Whenever I indent HTML in PHP mode, emacs (22.1.1, basic install on Redaht Linux

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.