OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: A few postfix issues - LDAP / anvil and sasl?

From: Victor Duchovni (Victor.Duchovnimorganstanley.com)
Date: Tue Jun 30 2009 - 16:16:15 CDT


On Tue, Jun 30, 2009 at 02:04:07PM -0700, Evan Platt wrote:

> At 12:02 PM 6/30/2009, you wrote:
>
>> You are using header files from SASL 2.1.22 or later, which
>> define SASL_PATH_TYPE_CONFIG, but libraries from a version
>> of SASL that does not have "sasl_set_path()".
>
> That's way above my head - is there an easy way to fix that?
>
>> Change the order of "-L/sw/lib" to put it ahead of "-lsasl2".
>
> Am I misunderstanding? It is already? (I'm assuming you mean /usr/lib? I
> don't have a /sw/lib, there's the /usr/lib/ but that is before -lsasl2?
>
> make -f Makefile.init makefiles CCARGS='-DUSE_SASL_AUTH -I/sw/include/sasl
> -DUSE_TLS -I/usr/include/openssl -DUSE_CYRUS_SASL -I/usr/local/lib/sasl2
> -DHAS_SSL -I/usr/local/ssl/include/openssl' AUXLIBS='-L/usr/lib -lldap
> -L/usr/lib -llber -L/usr/lib -lsasl2 -lssl'

There was an -L/sw/lib in your previous post. Where are the libraries
that go with /sw/include/sasl? Put the -L/... setting for these ahead
of "-lsasl2".

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.