[Dovecot] 1.1beta9 'make' fails on osx/Tiger, but OK on osx/Leopard (multiple definitions of symbol _hash_create)

Timo Sirainen tss at iki.fi
Wed Nov 28 17:53:55 EET 2007


On Wed, 2007-11-28 at 07:49 -0800, snowcrash wrote:
> > I think as a user it's a lot easier to use and understand if you're just
> > instructed to say:
> 
> > CPPFLAGS=-I/usr/local/include LDFLAGS=-I/usr/local/lib ./configure
> >
> > instead of:
> >
> > ./configure --with-mysql=/usr/local --with-sqlite=/usr/local
> > --with-pgsql=/usr/local --with-ten-other-packages=/usr/local
> 
> again, i don't agree.  LDFLAGS, CPPFLAGS, etc are _global_ var
> instances ... used by autofoo across the entier install.  often end up
> with stuff linked-in where you don't necessarily need/want it.

That's why libraries shouldn't be added to them, only linker flags.

> > -I and -L don't really matter if they're in global CPPFLAGS/LDFLAGS.
> 
> hm? items def'd in LDFLAGS don't matter? then why your question about
> why -lsqlite is linked in?  it's _only_ coming from LDFLAGS ...
> apparently not as you expected, no?

You showed that you added it to LDFLAGS yourself. Dovecot should be
adding it automatically where needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071128/8da92fe6/attachment.bin 


More information about the dovecot mailing list