[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#83669: Shared libraries



>> Herbert Xu <herbert@gondor.apana.org.au> writes:

 > >  > and allow shlibs with different minor version numbers to be installed
 > >  > together by encoding it into the package name.  Of course, we'll have
 > >  > to manage /usr/lib/libfoo.so.2 dynamically as well.
 > 
 > >  Break the second you run ldconfig.  Plus the fact that the dynamic
 > >  linker doesn't know about major and minor version numbers, only about
 > >  sonames.
 > 
 > Not if you manage it through ldconfig.

 I don't think I understand what you mean by manage here.  You can't
 prevent users from running 'ldconfig'.  If you run 'ldconfig' it will
 read the sonames and place symlinks to the "newer versions" of the
 library.  

 > BTW, ldconfig does know about version numbers.  Read the source.
 
 It doesn't.  It parses the soname, it's not quite the same.  And I said
 "dynamic linker" not "ldconfig".  The dynamic linker does not know
 about version numbers.

--
Marcelo



Reply to: