[exim] [SUMMARY] iconv install problem

Top Page
Delete this message
Reply to this message
Author: Dermot Paikkos
Date:  
To: exim-users
Subject: [exim] [SUMMARY] iconv install problem
A big thanx to Michael Haardt.

A simple ldconfig solved the problem. /usr/local/lib was already in
the ld.so.conf so I am not sure why it didn't work first time,
perhaps because I installed iconv just before but hadn't run
ldconfig.

After a chown of the /usr/exim dir, exim was able to run.
Thanx.
Dp.

------- original message follows -------
Hi,

SYS: Slackware Linux 2.4.22, libiconv-1.9.1, Exim-4.2.2

I used the following for the Makefile as I installed libconv.

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

but when I run exim I get:
/usr/exim/bin/exim: error while loading shared libraries:
libiconv.so.2: cannot open shared object file: No such file or
directory

/usr/local/lib has these files:
libcharset.a
libcharset.la
libcharset.so -> libcharset.so.1.0.0
libcharset.so.1 -> libcharset.so.1.0.0
libcharset.so.1.0.0
libiconv.la
libiconv.so -> libiconv.so.2.2.0
libiconv.so.2 -> libiconv.so.2.2.0
libiconv.so.2.2.0
libiconv_plug.so

So I can't see why it can't find it. The file permissions seem ok (-
rw-r--r--). Does anyone have any ideas?


Thanx.
Dp.


--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/ ##

------- End of forwarded message -------
~~
Dermot Paikkos * dermot@???
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668