Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

converting shared library to static library

How can I convert a shared library to static library? I'm trying to statically build valgrind, which requires the conversion of shared objects into static libraries. Normal build procedure of valgrind creates few shared libraries. Is there any way to convert these shared libraries(.so) to static library?

like image 294
midas Avatar asked Nov 14 '22 04:11

midas


1 Answers

I suppose it's feasible that you might be able to do this. But since you can just build a static library rather than a shared library, I don't imagine you will find a tool to convert.

like image 92
David Heffernan Avatar answered Jun 01 '23 11:06

David Heffernan