Questions tagged [static-linking]

42 questions
4
votes
1 answer

Static linking .so into my executable

I have a .cpp code I wrote, which is written around a commercial software program where they provide a big c++ library class to use. I want to static link their one shared object libtdfdll.so into my executable. They do not provide me with a…
ron
  • 6,575
3
votes
1 answer

create an statically linked executable from a dynamically linked executable and its dependencies

Take cat as an example, if I do ldd $(which cat), it shows linux-vdso.so.1 (0x00007fff8afbb000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb3102dd000) /lib64/ld-linux-x86-64.so.2 (0x00007fb310524000) Is there any way to bundle the cat…
doraemon
  • 421