OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: -DHAS_MYSQL \ -DUSE_SASL_AUTH

From: Rob Foehl (rwfloonybin.net)
Date: Tue Apr 06 2004 - 09:42:27 CDT


On Tue, 6 Apr 2004, Wietse Venema wrote:

> Rob Foehl:
> > On Tue, 6 Apr 2004, markus wrote:
> >
> > > I'm trying installing postfix on a new installed Redhat 9.0 with
> > > following instructrions:
> > >
> > > ---
> > > make makefiles 'CCARGS=-DHAS_MYSQL \
> > > -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH \
> > > -I/usr/local/include/sasl -I/usr/local/bdb/include' \
> > > 'AUXLIBS=-L/usr/local/mysql/lib/mysql \
> > > -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2 -L/usr/local/bdb/lib'
> >
> > Try adding -lpthread to this.
>
> So which of the two (MYSQL or SASL) needs -lpthread on Linux?

Looks like his build of BDB does, according to the errors.. Section 3 of
this page has more details:

http://www.sleepycat.com/docs/ref/build_unix/notes.html

-Rob