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 ...
- 06-03-2010 #1Just 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
- 06-03-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,943
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!
- 06-07-2010 #3Just Joined!
- Join Date
- Nov 2006
- Location
- Harrisburg, PA, USA
- Posts
- 56
Got it. Thanks.
Regards,
Sumit


Reply With Quote
