Marcin Kasprzak
2008-12-29 12:17:20 UTC
Hello,
I wonder to know if it is possible to somehow perform
a static (re)linking of already compiled binary that uses a shared libs?
For example I have a binary "bin" which depends on "libA.so" and "libB.so".
Would it be possible to relink it statically so that both libraries
would be included within "bin"?
[ I don't have access to source code of that program ]
It would be even better if such a command could work recursively,
in case for example "libA.so" depends on "libA1.so" and "libA2.so".
I would appreciate any help from your side, thanks.
I wonder to know if it is possible to somehow perform
a static (re)linking of already compiled binary that uses a shared libs?
For example I have a binary "bin" which depends on "libA.so" and "libB.so".
Would it be possible to relink it statically so that both libraries
would be included within "bin"?
[ I don't have access to source code of that program ]
It would be even better if such a command could work recursively,
in case for example "libA.so" depends on "libA1.so" and "libA2.so".
I would appreciate any help from your side, thanks.
--
Marcin
Marcin