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

Re: SONAME and package version question



Hi,

> > $ dpkg -c librote0_0.2.6-1_i386.deb
> > drwxr-xr-x root/root         0 2005-06-21 22:36:21 ./
> > drwxr-xr-x root/root         0 2005-06-21 22:36:20 ./usr/
> > drwxr-xr-x root/root         0 2005-06-21 22:36:21 ./usr/lib/
> > -rw-r--r-- root/root     13744 2005-06-21 22:36:21 ./usr/lib/librote.so.0.2.6
> > lrwxrwxrwx root/root         0 2005-06-21 22:36:21 ./usr/lib/librote.so.0 -> librote.so.0.2.6
> > 
> > With the patch, the relevant content are:
> > 
> > $ dpkg -c librote0_0.2.6+20050511-1_i386.deb
> > drwxr-xr-x root/root         0 2005-06-22 10:48:51 ./
> > drwxr-xr-x root/root         0 2005-06-22 10:48:51 ./usr/
> > drwxr-xr-x root/root         0 2005-06-22 10:48:51 ./usr/lib/
> > -rw-r--r-- root/root     13744 2005-06-22 10:48:51 ./usr/lib/librote.so.0.2.7
> > lrwxrwxrwx root/root         0 2005-06-22 10:48:51 ./usr/lib/librote.so.0 -> librote.so.0.2.7
> > 
> > Is it OK for the last digit in the library to change from 6 to 7?  Do I
> > need to do something about the version number?
> 
> If the SONAME value (displayed by objdump -p) hasn't changed, you don't
> need to change anything. The only thing you have to change is to bump
> the minimal dependency for dh_shlibdeps, if there are new symbols.


I've added reference to this thread to the libpkg-guide.
I've checked libpkg-guide and it wasn't quite correct in 
addressing this situation.



regards,
	junichi
-- 
Junichi Uekawa, Debian Developer   http://www.netfort.gr.jp/~dancer/
183A 70FC 4732 1B87 57A5  CE82 D837 7D4E E81E 55C1 



Reply to: