Re: [exim] Exim-4.44 - compilation problem // iconv() functi…

Pàgina inicial
Delete this message
Reply to this message
Autor: Stanczak Slawomir
Data:  
A: exim-users
Assumpte: Re: [exim] Exim-4.44 - compilation problem // iconv() function //
On Wed, 19 Jan 2005, Stanczak Slawomir wrote:

> Undefined                       first referenced
>  symbol                             in file
> libiconv_close                      rfc2047.o
> libiconv_open                       rfc2047.o
> libiconv                            rfc2047.o
> ld: fatal: Symbol referencing errors. No output written to exim
> collect2: ld returned 1 exit status
> make[1]: *** [exim] Error 1
> make[1]: Leaving directory
> `/home/New/src/exim-4.44/build-SunOS5-5.9-sparc'
> make: *** [go] Error 2


Solution

You need to add in your Makefile:

LOOKUP_LIBS=-L/usr/local/lib -liconv

and also

HAVE_ICONV=yes
CFLAGS=-O -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -liconv

S.