Cyrus-sasl 2.2.0.15 (?!) headers - Mac OS X 10.4+
Evan Schoenberg
evan at adiumx.com
Mon Nov 19 12:30:15 EST 2007
Hey, folks,
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)
However, OS X ships with no development headers for the library, so
attempts to use it fail nastily (libpurple attempts to import <sasl/
sasl.h>). I can't find any mention of such a version in any
authoritative space. Could anyone shed any light on what's going on
with this version, where I can get headers for it, or anything else
regarding this?
(Oddly, I don't see any plugins in /usr/lib/sasl2 by default...
perhaps they are compiled statically into the dylib? That's a
secondary problem, I guess - libsasl is definitely linked-against by
frameworks on the system, so it must be doing something.)
I've tried building my own copy of libsasl (2.1.21) and using it, but
because other system libraries link against 2.2.0.15 it seems I end up
with that loaded and used, anyways. I've tried using the 2.1.21
headers with the 2.2.0.15 library on the system, but the result is
(completely unsurprisingly) poor - various things go oddly wrong, such
as the username getting included twice instead of once in PLAIN
authentication, with the result of failed authentication attempts.
Thanks very much for your help,
Evan Schoenberg
More information about the Cyrus-sasl
mailing list