Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, This is the library files structure in my casee. lrwxrwxrwx 1 root root 16 May 19 02:12 libcurl.so -> libcurl.so.4.1.1 lrwxrwxrwx 1 root root 16 May 19 02:12 libcurl.so.4 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Location
    Harrisburg, PA, USA
    Posts
    56

    Symbolic link to library .so dynamic files


    Hi,

    This is the library files structure in my casee.

    lrwxrwxrwx 1 root root 16 May 19 02:12 libcurl.so -> libcurl.so.4.1.1
    lrwxrwxrwx 1 root root 16 May 19 02:12 libcurl.so.4 -> libcurl.so.4.1.1
    -rwxr-xr-x 1 root root 202576 Apr 19 00:40 libcurl.so.4.1.1

    If I make any changes in libcurl.so.4.1.1 and replaced it with the old one, do I need to make new symbolic link for libcurl.so, libcurl.so.4? Or will it refer new libcurl.so.4.1.1?

    I added one debug messgae into the library to check if I see this message. I did not see it.
    What could be wrong?

    Thanks.

    Regards,
    Sumit

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,677
    Symbolic/soft links will point to whatever file is there. If you have updated the target file, then the link will point to that, so no, you don't need to recreate the link.

    As to why you don't see the message you compiled into the library, it is possible that the application is still linking to the old version. If some other application is using that file, then it may be invisible, but it is still there, and will remain until all links to it are terminated.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Location
    Harrisburg, PA, USA
    Posts
    56
    Got it. Thanks.

    Regards,
    Sumit

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •