View Single Post
Old 08-29-2012, 02:41 PM   #8
sandman7920
Junior Member
sandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura aboutsandman7920 has a spectacular aura about
 
Posts: 6
Karma: 4348
Join Date: Jul 2012
Device: K4NT
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
sandman7920 is offline   Reply With Quote