|
ldconfig will create symlink only to soname attribute used in linker
if we have
g++ -Wl,-soname,libmylib.so.2 -shared -o output/libmylib.so.2.0.1 -fPIC main.o
ldconfig -N /some/place/lib
will create libmylib.so.2 -> libmylib.so.2.0.1
libmylib.so will not be created automatically libmylib.so is not needed to run application it is needed only for linker
P.S. Sorry for my english
|