[exim] Exim-4.44 - compilation problem // iconv() function /…

Top Page
Delete this message
Reply to this message
Author: Stanczak Slawomir
Date:  
To: exim-users
Subject: [exim] Exim-4.44 - compilation problem // iconv() function //
Hello,

Exim-4.44, Solaris 9/SPARC, gcc-3.4.2, libiconv-1.8 installed.
---------------------------------------------------------------
cms:/home/New/ok# ls -l /usr/local/lib/libiconv*
-rw-r--r-- 1 root bin 802 Jan 13 12:39 /usr/local/lib/libiconv.la
lrwxrwxrwx 1 root other 17 Jan 17 13:13 /usr/local/lib/libiconv.so -> libiconv.so.2.1.0*
[...]

cms:/home/New/ok# ls -l /usr/local/include/iconv*
-rw-r--r-- 1 root bin 4294 Jan 13 12:39 /usr/local/include/iconv.h

My Local/Makefile
-----------------
[...]
HAVE_ICONV=yes
CFLAGS=-O -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -liconv
[...]

When I try to compile Exim I get following error:

[...]
   -L/usr/local/ssl/lib -lssl -lcrypto
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


This a big problem for me. I use Exim MTA on all my servers.

Help me, please

Thank's
Slawomir Stanczak