Corrupted libsasl2.pc file and no available methods
Stefano Sabatini
stefasab at gmail.com
Thu Apr 16 07:31:11 EDT 2015
In data Wednesday 2015-04-15 13:42:30 +0200, Stefano Sabatini ha scritto:
> Hi,
>
> I'm using libsasl2 compiled from code source, using latest version
> 2.1.26 downloaded here:
> ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz
>
> and I'm facing a few issues.
[...]
> 2. I cannot get any authentication mechanism available.
>
> I have this simple program:
> -------------------list-sasl-methods.c --------------------------------
[...]
> -------------------list-sasl-methods.c ---------------------------------
>
> If I use the system libraries this program will list all the methods.
>
> I tried to check the config.log file to see if something was wrong
> during compilation but all seem fine.
>
> What am I missing, or in other words how can I check which
> authentication mechanisms were enabled during configuration?
I was missing the --with-plugindir configure option. The library was
looking in /usr/lib/sasl2, rather than in my install path. strace was
useful to find that the program was not looking in the custom
directory.
Regards.
More information about the Cyrus-sasl
mailing list