1

Removing entry from DYNAMIC section of elf file

view story
linux-howto

http://stackoverflow.com – I have 3rd party library A, that requires some library B. A is linked to binrary, which is linked with static version B. Therefore there's no need in dynamic version of B any more. A is not under my control and I cannot recompile it. Thus I want to remove NEEDED libA entry from DYNAMIC section of A. Is there a way to do it with objcopy or other tool? (HowTos)