Search code examples
linuxgccg++userspace

how to create *.a to *.so in linux user-space?


i done compile file makefile.am and i need shared link for my lib, for example after compile i see /usr/lib64/libtest.a but i need libtest.so because i need my lib to other C source file,

example :g++ -llibtest test.c

i read about this here but i not sure how to work and how to use ranlib or ar,there is any way for create *.a to *.so?


Solution

  • i resolve this issue with

    ./configure --disable-shared