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

How to change lib version numbers?



How can I change the version number of Heimdal libs?

I'm still having symbol clash problems when dlopen'd modules use different
versions of Heimdal. I have explored Love's suggestion of renaming all
exported functions via make-protos.pl and I'll continue to explore that
option but it seems I would need to do that for every exported function
of every library (e.g. libasn1 has 1200 functions).

So I thought I would try changing library version numbers. For example:

  libkrb5.so.17.4.0 -> libkrb5.so.1017.4.0

However, it's not clear to me how to change version numbers in the
build. For example lib/krb5/Makefile.am has:

  libkrb5_la_LDFLAGS = -version-info 21:0:4

so where is 17.4.0 coming from?

Mike

-- 
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/