[afnog] Exim with Ldap and mysql support

Emmanuel Togo ematogo at gmail.com
Mon Jun 13 18:18:10 EAT 2005


On 6/13/05, Brian Candler <B.Candler at pobox.com> wrote:
> Can you send that to the list? It's good for education and for the archives.
> 
> On Monday 13 June 2005 15:07, Emmanuel Togo wrote:
> > Thank you its working now.
> > I had to add the -lm and -lz linker flag and also uncoment this
> > lines.......
> >
> > HAVE_ICONV=yes
> > CFLAGS=-O -I/usr/local/include
> > EXTRALIBS_EXIM=-L/usr/local/lib -liconv
> >
> > Thank you once again. exim is now installed
> >
> > Emmanuel
> >
> > On 6/12/05, Brian Candler <B.Candler at pobox.com> wrote:
> > > On Fri, Jun 10, 2005 at 05:59:21PM +0000, Emmanuel Togo wrote:
> > > > Hi all!
> > > > I am trying to build exim with mysql and ldap support on solaris 8 but
> > > > not successful. attached is a sample  with the error. I need help
> > >
> > > ...
> > >
> > > > Undefined                       first referenced
> > > >  symbol                             in file
> > > > libiconv                            rfc2047.o
> > > > libiconv_open                       rfc2047.o
> > >
> > > As a guess, it looks like you configured exim to build with iconv
> > > support, but don't have the iconf library.
> > >
> > > Try either (a) configuring your Local/Makefile to say don't use iconv, or
> > > (b) building and installing the iconv library first.
> > >
> > > > compress
> > > > /usr/local/mysql/lib/libmysqlclient.a(my_compress.o)
> > > > libiconv_close                      rfc2047.o
> > > > floor
> > > > /usr/local/mysql/lib/libmysqlclient.a(password.o)
> > > > uncompress
> > >
> > > For compress and uncompress, you could try adding -lz to linker flags
> > > (assuming you have libz installed). For floor, you could try adding -lm
> > > (the standard math library).
> > >
> > > HTH,
> > >
> > > Brian.
>



More information about the afnog mailing list