It looks like this issue is not related to the ‘.so’ file but to the Edison's storage being full. Which image are you using? You can find out which image you are using the command:
If you are on anything below 159, I suggest you to upgrade it. You will find the latest official image in IoT - Intel® Edison Board Download | Intel® Developer Zone. The reason why I'm suggesting you this is because older versions of the Edison's image had a different partition size. The latest version increases the storage available to use, therefore this might help you get rid of this issue.
If you are already on this version, then, your memory is full and you will have to remove some files to create some extra space.