0

I'm using libraries a, b, and c to create library x. I want to give library x to my friends without them Having to have libraries a, b, c. I've tried .so files and .a files but .so crashes before first line of main and .a requires libraries a, b, and c. Using ubuntu g++ and c++11

1 Answers1

0

What you should do is compile your library X link libraries a, b and c Staticly.

This answer should point you in the right direction. Static link of shared library function in gcc

Community
  • 1
  • 1
Jan Jaap
  • 437
  • 1
  • 4
  • 13