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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Stanczak Slawomir
日付:  
To: exim-users
題目: 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.