On Nov 19, 2007, at 12:30 PM, Sebastian Hagedorn wrote:
I'm trying to enable cyrus-sasl authentication for XMPP in
libpurple, an
instant messaging library, for use in Adium, a Mac OS X open source
instant messaging program.
Mac OS X ships with libsasl that claims to be 2.2.0.15
(libsasl2.2.0.15.dylib); otool reports:
/usr/lib/libsasl2.2.dylib (compatibility version 3.0.0, current
version
3.15.0)
I don't think you can read the version number that way. Internally
it's 2.1.18.I'm not sure how Apple number their libraries.
Ah! Thanks. Is there a way I could have found that out without asking
the list, or is it just Something One Knows?
I've tried building my own copy of libsasl (2.1.21) and using it,
That's generally the correct course of action.
but
because other system libraries link against 2.2.0.15 it seems I end
up
with that loaded and used, anyways.
What system libraries are you talking about?
For example, my program uses Apple's Address Book.framework, which
loads LDAP.framework, which loads the system version of libsasl from /
usr/lib.
If you really need them perhaps you'd be better of installing
2.1.18 ...
Well, 2.1.18 is already installed by default... but the point of using
the 2.1.18 sources is exactly what I wanted to try; I just didn't know
what 'real' version of cyrus-sasl to get. On my local system (Mac OS
X 10.5), this has worked perfectly... I need to test it out on a 10.4
system to be sure that this is a complete solution.
Thanks much for your help!
-Evan