Possible Duplicate:
Convert a Static Library to a Shared Library (create libsome.so from libsome.a): where’s my symbols?
In compiling C++ with Cmakefile, how can I create a dynamic library .so file out of .a static library file?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are building the library, you are using CMake (as I guess from your question), and it is defined like this:
You can add the type of library you want to build after the name of the library. It can be
STATICorSHARED. So if you want to build a shared library (.so), then the above should be transformed like this:Hope this helps.