Santiago Romero:
make makefiles CCARGS=-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -lsasl
make
See the INSTALL file. Also on-line as http://www.postfix.org/INSTALL.html
See also the SASL_README file for SASL-specific command syntax.
Ok, I see it:
make makefiles CCARGS=-DUSE_SASL_AUTH
Hi.
I tried to upgrade from a perfectly running postfix system
(2.5.1 + SASL1) to 2.5.4, and got an strange error.
I compiled 2.5.1 (tar.gz from postfix's website) 3 months ago with:
make makefiles CCARGS=-DUSE_SASL_AUTH -lsasl
make
make install
(answered the install questions and installed
Santiago Romero wrote:
Hi.
I tried to upgrade from a perfectly running postfix system
(2.5.1 + SASL1) to 2.5.4, and got an strange error.
I compiled 2.5.1 (tar.gz from postfix's website) 3 months ago with:
make makefiles CCARGS=-DUSE_SASL_AUTH -lsasl
make
make install
(answered the install
CCARGS='-DUSE_SASL_AUTH \
-DUSE_CYRUS_SASL'
When Dovecot authentication was introduced the arguments were changed.
Now you have to use -DUSE_CYRUS_SASL explicitely in order to compile
support for Cyrus sasl in.
It does not compile this way:
(...)
gcc -Wmissing-prototypes -Wformat
At the moment I am scratching my head. Something is apparently
different in the sasl implementation. I assume that you compile both
versions in the same environment?
Yes. Same machine:
truth:~/sources/postfix# ls -l
total 6188
drwxr-xr-x 16 postfix postfix 4096 ago 20 10:03
Santiago Romero wrote:
I compile 2.5.1 with:
make makefiles CCARGS=-DUSE_SASL_AUTH -lsasl
make
And SASL works. The same make sentences with 2.5.4 compiles and
after the
make upgrade it gives the sasl error in the logs.
And compiled postfconf says:
truth:~/sources/postfix/postfix-2.5.4#
Santiago Romero wrote:
Santiago Romero wrote:
I compile 2.5.1 with:
make makefiles CCARGS=-DUSE_SASL_AUTH -lsasl
make
And SASL works. The same make sentences with 2.5.4 compiles and
after the
make upgrade it gives the sasl error in the logs.
And compiled postfconf says:
Are you absolutely sure that you need SASL1 and not SASL2? Please
check what versions of sasl.h are installed on your system. It could
be that an incompatible version is used during compilation.
Yes, I need it. I don't have available SASL2 and when I tried to
download and compile sasl2 in
Santiago Romero:
Santiago Romero wrote:
Solved! I noticed that the undefined symbols were correctly defined in
libsasl1, so I thought that the problem was the library not being linked
in. So:
I changed:
make makefiles CCARGS=-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -lsasl
make
That is
make makefiles CCARGS=-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -lsasl
make
That is not the correct syntax. See the INSTALL file.
What's wrong? The -lsasl statement?
In the INSTALL file I see you use single quotation marks instead of
double. Besides of that, what I'm doing wrong?
Thanks.
Santiago Romero:
make makefiles CCARGS=-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -lsasl
make
That is not the correct syntax. See the INSTALL file.
What's wrong? The -lsasl statement?
See the INSTALL file. Also on-line as http://www.postfix.org/INSTALL.html
See also the
11 matches
Mail list logo