Try to update exim after upgrade with custombuild
Hello.
I have a new server with default DA installed.
After an upgrade with custombuild with default option,
i try to update exim to 4.68.
The upgrade went wrong, with this problem:
rfc2047.o(.text+0x384): In function `rfc2047_decode2':
: undefined reference to `libiconv_open'
rfc2047.o(.text+0x44f): In function `rfc2047_decode2':
: undefined reference to `libiconv'
rfc2047.o(.text+0x535): In function `rfc2047_decode2':
: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/da_exim-4.68/build-Linux-i386'
make: *** [go] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.57655 (%build)
My configure.php5 looked like:
#!/bin/sh
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-iconv=/usr/local \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--disable-posix \
--enable-gd-native-ttf \
--enable-mbstring
And now I have no idea how to fix EXIM.
Any suggestion?
_____________________________________________________________
Problem fixed. Found some nice info in this forum from an old case... modifies some files..
wget
http://files.directadmin.com/services/4.4/da_exim-4.68-1.i386.rpm
rpm -Uhv da_exim-4.68-1.i386.rpm --force
rm -f da_exim-4.68-1.i386.rpm
service exim restart