How to open and edit files with extension (.so)

General support questions
Post Reply
sohamprabhu
Posts: 1
Joined: 2017/05/24 13:57:02

How to open and edit files with extension (.so)

Post by sohamprabhu » 2017/05/24 14:20:15

How to open and edit the code inside the files with extension (.so) they say (ELF) file format. I want to know how to edit such a file?
ex:- I was trying libphpcpp.so and I have many files in .so format.
Please help

unix_commando
Posts: 7
Joined: 2015/01/06 14:16:27

Re: How to open and edit files with extension (.so)

Post by unix_commando » 2017/05/24 18:28:45

I'm not going to say you can't, but I am going to say don't. Files with .so are Shared Objects, these are libraries that are used by many programs and any changes you make to a shared object could result in breaking all kinds of things in your system.

Having said that, if you really, really, feel you need to alter an so then you should find a package that contains that so, edit the source code and compile it. Place the new so in /usr/local/lib and link your binary to that by running the binary in an environment that put your new so before the standard library.

-Bob

Post Reply