Friday, 28 September 2018

Thursday, 27 September 2018

How to find the missing dependencies for a Linux executable [how to resolve the cannot open shared object file: No such file or directory]

Problem statement :
When you run the executable in putty and get the below message,
"..cannot open shared object file: No such file or directory..". This is in spite of the fact that the file is actually present.

Solution :
This is actually the case of missing libraries. You can check this by running the below command:
ldd /path/to/file and you will get the output with one or several files being listed as "not found"

Now search for all the files which are being referred as "not found" using the find command.Then add the path of these files to LD_LIBRARY_PATH.Now, export it and try to run the application again.

This time you should be able to run successfully!

How to copy text from the putty window

Quite a handy tip :)

If you want to copy the entire text or some part of the text from putty window, all you have to do is
1. Click on the screen from where you want to copy the text
2. Keeping the mouse clicked, drag the mouse upto the point you want to copy and release the mouse
3. The area that you have selected by means of the above actions will get highlighted in white.
4. Now again do a left click, the text will get automatically copied to the clipboard and can be pasted anywhere, say, notepad etc.

Enjoy!

Tuesday, 11 September 2018

How to get the RC book returned from Post Office to RTO

Hi All,

This blog is about how to get your RC Book that was returned by the Post Office to RTO. As you might be aware that Address Proof is one of the mandatory document when purchasing a vehicle. Also, this is the same address where the RC Book is sent via Speed Post .

In case, the person is not available to receive it, it is first taken back to the Post Office. And a message is left at your door providing you the tracking id. You will also receive an SMS with the same tracking id. You can then track the status of your RC book location using this tracking id on the below portal:
https://www.indiapost.gov.in/_layouts/15/dop.portal.tracking/trackconsignment.aspx

It shall look something like below:

The RC Book stays at the Post Office for around 15 days. If during this period, you check with the tracking id at the RTO instead of the Post Office, you will be directed to contact the Post Office asking to check there. In my case, RC book was present at Chinchwad Station Post Office shown below.


Please note that you can get the RC Book from the Post Office only between 10 AM to 1 PM (Monday to Saturday). No request will be entertained outside this duration. Please see below:



If the RC Book is not collected during this period of 15 days, it is sent back to the RTO. This is what happened in my case.I missed collecting it within 15 days and hence the RC Book was sent to Dy RTO in Moshi. Please see the "Return To Sender .." message and the date in the above snapshot.

To collect the document from the RTO you will need the ID Proof, Address Proof, and copy of Tax Receipt.

You will be required to fill the Return Form (available from the Xerox outside the RTO building) and submit it along with the ID Proof, Address Proof, Tax receipt at the counter. Please note that in case of Dy RTO building shown in one of the pics above, the RC counter is present in the left section of the building.

After verification, i was directed to pay the Fee of 50 Rs at Window No. 10 on the Second Floor.
Upon making the payment, i came back to the same counter and showed the receipt of this payment:

And, finally i was handed over my RC Book !!!

PS : Feel free to post your query in the comment section and i shall revert soon :)

Monday, 10 September 2018

How to get full path of any file or folder via cmd

Hi All,

I would like to share a handy tip via this blog.
So assume you are need to find full path of any file or folder quickly, then what you can do is,

1. Open the command prompt by typing cmd in the Run box
2. Then drag the file or folder whose full path you need into this cmd window
3. The complete path of this will be printed in the cmd which then you can use as you wish

Enjoy!!

PS: This is just one of the method. The same objective can be achieved in several other ways as well :)