Solved

ld.so.1: exim: fatal: libiconv.so.2: open failed: No such file or directory

Posted on 2013-05-28
26
2,678 Views
Last Modified: 2013-06-07
Hi,
I am trying to install version 4.66 on Solaris SPARC machine and when I run "make" it had created a binary. But now having issues with " make install".

Btw when running "make install" getting below error:

make install

Installation directory is /usr/local/exim/bin

ld.so.1: exim: fatal: libiconv.so.2: open failed: No such file or directory

*** Could not run ./exim to find version number ***
*** Exim installation failed ***
make: *** [install] Error 1
pkaturi@gb0882ldaptst01 >sudo make install
mkdir -p /tmp/exim/bin
/tmp/exim/bin created

Please assist.
0
Comment
Question by:prashanthkaturi
  • 14
  • 12
26 Comments
 
LVL 76

Expert Comment

by:arnold
ID: 39203301
You are missing ,the libiconv package.

Use http://unixpackages.com to locate the iconv package and stall it unless you want to compile it as well.  Sunfreeware.com used to be the free resource now seems to require registration.
Www.gnu.org http://www.gnu.org/software/libiconv/.

You need to read the readme and install of each source you want to install to see what their dependencies are.

Alternatively if you have the packages installed, you may have to use crle to define the locations where the items coud be found or use environment variable LD_LIBRARY_PATH or within the configuration use LDFLAGS="-L/path/to/"
0
 

Author Comment

by:prashanthkaturi
ID: 39203313
Thank you for your reply.

When i run
echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/lib

Open in new window


Actually libiconv.so.2 is under /usr/local/lib
0
 
LVL 76

Expert Comment

by:arnold
ID: 39203355
Double check the version of libiconv needed for exim 4.66.
Which version of solaris do you have?
pkginfo -i |grep -i iconv

uname -a

Crle manages LD library locations

LD is likely looking for the library in the wrong place.  When running configure, did you specify LDFLAGS?
0
 

Author Comment

by:prashanthkaturi
ID: 39203375
Machine is running on Solaris 10 SPARC

pkginfo -i |grep -i iconv
application SMCliconv                        libiconv
ALE         SUNWciu8                         Simplified Chinese (EUC) iconv modules for UTF-8
ALE         SUNWhiu8                         Traditional Chinese (EUC) iconv modules for UTF-8
system      SUNWiniu8                        Indic (UTF-8) iconv modules for UTF-8
system      SUNWjiu8                         Japanese iconv modules for UTF-8
ALE         SUNWkiu8                         Korean (UTF-8) iconv modules for UTF-8
system      SUNWtiu8                         Thai (UTF-8) iconv modules for UTF-8
system      SUNWuiu8                         Iconv modules for UTF-8 Locale
system      SUNWuium                         Iconv Man Pages for UTF-8 Locale

Open in new window


uname -a
SunOS gb0070ldaptst00 5.10 Generic_144488-17 sun4v sparc SUNW,Sun-Fire-T200

Open in new window



I have edited src/EDITME file and then copied under LOCAL/MAKEFILE and then run make and make install
0
 
LVL 76

Expert Comment

by:arnold
ID: 39203396
isainfo -kv
do you have a /usr/lib64?
Trying to see whether you have a 32 or 64 bit OS and if 64, your 64bit iconv library might be missing.
0
 

Author Comment

by:prashanthkaturi
ID: 39203400
This machine is running on 64-BIT

isainfo -kv
64-bit sparcv9 kernel modules

Open in new window


How to figure out and install the missing binary?
0
 
LVL 76

Expert Comment

by:arnold
ID: 39203408
pkginfo -l SMCliconv | grep -i lib64



Try unsetting (unset LD_LIBRARY_PATH)
0
 

Author Comment

by:prashanthkaturi
ID: 39203427
Thank you for the reply.

Yes the required package is missing and i dont see any output with below command.

pkginfo -l SMCliconv | grep -i lib64

Open in new window


Btw how to download the missing package?
0
 
LVL 76

Expert Comment

by:arnold
ID: 39203447
It should be on your OS DVD.
This is where the 32bit SMC package came from.
0
 
LVL 76

Expert Comment

by:arnold
ID: 39203460
You may need to build it yourself.

Do not have access at the moment to search the DVD for the package.

Try file /usr/lib/libiconv.so.2
Does it say it is a 32 or 64 bit?
0
 

Author Comment

by:prashanthkaturi
ID: 39211963
I have installed libiconv 64 bit package and then tried to run make install, still getting the same below error.

make install

Installation directory is /usr/local/exim/bin

ld.so.1: exim: fatal: libiconv.so.2: open failed: No such file or directory

*** Could not run ./exim to find version number ***
*** Exim installation failed ***
make: *** [install] Error 1

Open in new window


pkaturi@gb0882ldaptst01 >pkginfo -i |grep -i iconv
application SMCliconv                        libiconv
ALE         SUNWciu8                         Simplified Chinese (EUC) iconv modules for UTF-8
ALE         SUNWhiu8                         Traditional Chinese (EUC) iconv modules for UTF-8
system      SUNWiniu8                        Indic (UTF-8) iconv modules for UTF-8
system      SUNWjiu8                         Japanese iconv modules for UTF-8
ALE         SUNWkiu8                         Korean (UTF-8) iconv modules for UTF-8
system      SUNWtiu8                         Thai (UTF-8) iconv modules for UTF-8
system      SUNWuiu8                         Iconv modules for UTF-8 Locale
system      SUNWuium                         Iconv Man Pages for UTF-8 Locale
utility     libiconv                         GNU libiconv 1.13.1 SPARC 64bit Solaris 10

Open in new window



Below is the installation of libiconv package.

pkgadd -d  libiconv.1.13.1.SPARC.64bit.Solaris.10.pkg

The following packages are available:
  1  libiconv     GNU libiconv 1.13.1 SPARC 64bit Solaris 10
                  (sparc) 1.13.1

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 

Processing package instance <libiconv> from </home/pkaturi/libiconv.1.13.1.SPARC.64bit.Solaris.10.pkg>

GNU libiconv 1.13.1 SPARC 64bit Solaris 10(sparc) 1.13.1
WARNING: Stale lock installed for pkgadd, pkg libiconv quit in analysis state.
    Removing lock.
GNU
## Executing checkinstall script.
## Processing package information.
## Processing system information.
   6 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
  /usr/local/bin <attribute change only>
  /usr/local/bin/iconv
  /usr/local/include <attribute change only>
  /usr/local/include/iconv.h
  /usr/local/include/libcharset.h
  /usr/local/include/localcharset.h
  /usr/local/lib <attribute change only>
* /usr/local/lib/charset.alias
  /usr/local/lib/libcharset.a
  /usr/local/lib/libcharset.la
  /usr/local/lib/libcharset.so.1.0.0
  /usr/local/lib/libiconv.la
  /usr/local/lib/libiconv.so.2.5.0
  /usr/local/lib/preloadable_libiconv.so
  /usr/local/share <attribute change only>
  /usr/local/share/doc <attribute change only>
  /usr/local/share/doc/libiconv <attribute change only>
  /usr/local/share/doc/libiconv/iconv.1.html
  /usr/local/share/doc/libiconv/iconv.3.html
[Hit <RETURN> to continue display]

  /usr/local/share/doc/libiconv/iconv_close.3.html
  /usr/local/share/doc/libiconv/iconv_open.3.html
  /usr/local/share/doc/libiconv/iconvctl.3.html
  /usr/local/share/man <attribute change only>
  /usr/local/share/man/man1 <attribute change only>
  /usr/local/share/man/man1/iconv.1
  /usr/local/share/man/man3 <attribute change only>
  /usr/local/share/man/man3/iconv.3
  /usr/local/share/man/man3/iconv_close.3
  /usr/local/share/man/man3/iconv_open.3
  /usr/local/share/man/man3/iconvctl.3

* - conflict with a file which does not belong to any package.

Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.

Installing GNU libiconv 1.13.1 SPARC 64bit Solaris 10 as <libiconv>

## Installing part 1 of 1.
/usr/local/bin/iconv
/usr/local/include/iconv.h
/usr/local/include/libcharset.h
/usr/local/include/localcharset.h
/usr/local/lib/charset.alias
/usr/local/lib/libcharset.a
/usr/local/lib/libcharset.la
/usr/local/lib/libcharset.so.1.0.0
/usr/local/lib/libiconv.la
/usr/local/lib/libiconv.so.2.5.0
/usr/local/lib/preloadable_libiconv.so
/usr/local/share/doc/libiconv/iconv.1.html
/usr/local/share/doc/libiconv/iconv.3.html
/usr/local/share/doc/libiconv/iconv_close.3.html
/usr/local/share/doc/libiconv/iconv_open.3.html
/usr/local/share/doc/libiconv/iconv_open_into.3.html
/usr/local/share/doc/libiconv/iconvctl.3.html
/usr/local/share/man/man1/iconv.1
/usr/local/share/man/man3/iconv.3
/usr/local/share/man/man3/iconv_close.3
/usr/local/share/man/man3/iconv_open.3
/usr/local/share/man/man3/iconv_open_into.3
/usr/local/share/man/man3/iconvctl.3
[ verifying class <none> ]

Installation of <libiconv> was successful.

Open in new window

0
 
LVL 76

Expert Comment

by:arnold
ID: 39211970
use crle -64 -l :/usr/local/lib64:/usr/lib64

run
crle
crle -64

export LD_LIBRARY_PATH="/usr/local/lib64:/usr/lib64:/usr/local/lib:/usr/local/lib"

the other issue is that the version of libiconv.so.2 is not seemingly present in the package.
Double check exim readme/install to see which version of iconv it needs and consider compiling and builging your own packages (there are certain things you would need, sunfreeware.com on the left side has a set of instructions to build your own packages.)

http://www.sunfreeware.com/pkgadd.html
0
 

Author Comment

by:prashanthkaturi
ID: 39211991
crle

Default configuration file (/var/ld/ld.config) not found
  Platform:     32-bit MSB SPARC
  Default Library Path (ELF):   /lib:/usr/lib  (system default)
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)

crle -64

Default configuration file (/var/ld/64/ld.config) not found
  Platform:     64-bit MSB SPARCV9
  Default Library Path (ELF):   /lib/64:/usr/lib/64  (system default)
  Trusted Directories (ELF):    /lib/secure/64:/usr/lib/secure/64  (system default)

Open in new window

0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 76

Expert Comment

by:arnold
ID: 39212008
You need to add /usr/local/lib64

Double check /usr/local/lib64 is not what should be used
crle -64 -l /usr/local/lib:/usr/local/lib/64:/usr/lib/64:/lib/64

You also need to include the /usr/local/lib since this is the way the package was built.
0
 

Author Comment

by:prashanthkaturi
ID: 39216629
Thank you for the update. I don't have any directory (i.e) 64 under /usr/local/lib.

Btw i have symbolic link under

ls -la /usr/lib/64
lrwxrwxrwx   1 root     root           7 Oct 18  2011 /usr/lib/64 -> sparcv9

Open in new window


pkaturi@gb0882ldaptst01 >ls -la /lib/64
lrwxrwxrwx   1 root     root           7 Oct 18  2011 /lib/64 -> sparcv9

Open in new window



Btw we dont have directory (i.e) 64 under /usr/local/lib on any of our Solaris SPARC machines.

Please advise.
0
 
LVL 76

Expert Comment

by:arnold
ID: 39216681
If memory serves me, the 64 bit libraries were in lib64 type formats
/lib64/
/usr/lib64
and
/usr/local/lib64

note your crle -64 output points to the /usr/lib/64 type of structure.
0
 

Author Comment

by:prashanthkaturi
ID: 39216711
Thank you for the reply. Do in need to run any command now?
0
 
LVL 76

Expert Comment

by:arnold
ID: 39216731
Where are the 64bit libraries?

The further difficulty the libiconv 64bit you installed, does not have the libiconv.so.2.0 that exim package is trying to link against.

You could use ln -s libiconv.so.2.5 libiconv.so.2.0 but if the versions are incompatible, i.e. the newer version no longer has support for a command that is available in the older and exim relies on this function, exim may run most of the time until this command is accessed at which point exim will crash.

Since you are compiling exim rather than installing it from a package if available.
I would suggest you compile all the dependent packages that exim needs.
libiconv, etc.
Have not dealt with exim, but usually one use configure which goes through the process of validation making sure everything needed by this application to compile is present.

This way you will eliminate the chase for missing packages
exim should have readme, install that detail what packages must be present for it to compile/work.
0
 

Author Comment

by:prashanthkaturi
ID: 39216912
Right now i have libiconv files under /usr/local/lib

cd /usr/local/lib

ls -la libico*
-rw-r--r--   1 root     root        1033 May 31 21:19 libiconv.la
lrwxrwxrwx   1 root     root          17 May 28 21:21 libiconv.so -> libiconv.so.2.5.0
lrwxrwxrwx   1 root     root          17 May 28 21:21 libiconv.so.2 -> libiconv.so.2.5.0
-rwxr-xr-x   1 root     root      968236 May 31 21:19 libiconv.so.2.5.0
-rwxr-xr-x   1 root     root     1188076 May 28 20:01 libiconv.so.2.5.1

Open in new window


Not sure whether they needs to be under /usr/lib/64?
0
 
LVL 76

Expert Comment

by:arnold
ID: 39217080
Run file /usr/lib/libiconv*
See if any are 64bit.
You may then have to update crle -64 to look in the /usr/local/lib for 64bit versions.

Run make first to build the binaries, make install is the last step when the built application is installed.  It may have a make test to make sure.

Make depend may need to be run not sure as I have not compiled xim before, but have other packages and those often used configure (autoconf/automake) type setup.
0
 

Author Comment

by:prashanthkaturi
ID: 39217128
Thank you for the reply, i have updated crle -64 to use /usr/local/lib

crle -64 -l /usr/local/lib:/usr/lib/64:/lib/64

Open in new window


crle -64

Configuration file [version 4]: /var/ld/64/ld.config  
  Platform:     64-bit MSB SPARCV9
  Default Library Path (ELF):   /usr/local/lib:/usr/lib/64:/lib/64
  Trusted Directories (ELF):    /lib/secure/64:/usr/lib/secure/64  (system default)

Command line:
  crle -64 -c /var/ld/64/ld.config -l /usr/local/lib:/usr/lib/64:/lib/64

Open in new window


Then run make and it was successful.

 make         
`Makefile' is up to date.
 
make[1]: Entering directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc'
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc'
Building configuration file config.h
>>> config.h built

make[2]: Entering directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/pcre'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/pcre'
 
>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
gcc -o exim_dbmbuild
>>> exim_dbmbuild utility built
 
gcc -DEXIM_DUMPDB exim_dbutil.c
gcc -DCOMPILE_UTILITY os.c
gcc -DCOMPILE_UTILITY store.c
gcc -o exim_dumpdb
>>> exim_dumpdb utility built
 
gcc -DEXIM_FIXDB exim_dbutil.c
gcc -o exim_fixdb
>>> exim_fixdb utility built
 
gcc -DEXIM_TIDYDB exim_dbutil.c
gcc -o exim_tidydb
>>> exim_tidydb utility built
 
make[2]: Entering directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/lookups'
gcc cdb.c
gcc dbmdb.c
gcc dnsdb.c
gcc dsearch.c
gcc ibase.c
gcc ldap.c
gcc lsearch.c
gcc mysql.c
gcc nis.c
gcc nisplus.c
gcc oracle.c
gcc passwd.c
gcc pgsql.c
gcc spf.c
gcc sqlite.c
gcc testdb.c
gcc whoson.c
gcc lf_check_file.c
gcc lf_quote.c
ar cq lookups.a
make[2]: Leaving directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/lookups'
 
make[2]: Entering directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/routers'
gcc accept.c
gcc dnslookup.c
gcc ipliteral.c
gcc iplookup.c
gcc manualroute.c
gcc queryprogram.c
gcc redirect.c
gcc rf_change_domain.c
gcc rf_expand_data.c
gcc rf_get_errors_address.c
gcc rf_get_munge_headers.c
gcc rf_get_transport.c
gcc rf_get_ugid.c
gcc rf_lookup_hostlist.c
gcc rf_queue_add.c
gcc rf_self_action.c
gcc rf_set_ugid.c
ar cq routers.a
make[2]: Leaving directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/routers'
 
make[2]: Entering directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/transports'
gcc appendfile.c
gcc autoreply.c
gcc lmtp.c
gcc pipe.c
gcc smtp.c
gcc tf_maildir.c
ar cq transports.a
make[2]: Leaving directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/transports'
 
make[2]: Entering directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/auths'
gcc auth-spa.c
gcc b64decode.c
gcc b64encode.c
gcc call_pam.c
gcc call_pwcheck.c
gcc call_radius.c
gcc check_serv_cond.c
gcc cram_md5.c
gcc cyrus_sasl.c
gcc dovecot.c
gcc get_data.c
gcc get_no64_data.c
gcc md5.c
gcc plaintext.c
gcc pwcheck.c
gcc sha1.c
gcc spa.c
gcc xtextdecode.c
gcc xtextencode.c
ar cq auths.a
make[2]: Leaving directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc/auths'
 
gcc acl.c
gcc child.c
gcc crypt16.c
gcc daemon.c
gcc dbfn.c
gcc debug.c
gcc deliver.c
gcc directory.c
gcc dns.c
gcc drtables.c
gcc enq.c
gcc exim.c
gcc expand.c
gcc filter.c
gcc filtertest.c
gcc globals.c
gcc header.c
gcc host.c
gcc ip.c
gcc log.c
gcc lss.c
gcc match.c
gcc moan.c
gcc os.c
gcc parse.c
gcc queue.c
gcc rda.c
gcc readconf.c
gcc receive.c
gcc retry.c
gcc rewrite.c
gcc rfc2047.c
gcc route.c
gcc search.c
gcc sieve.c
gcc smtp_in.c
gcc smtp_out.c
gcc spool_in.c
gcc spool_out.c
gcc store.c
gcc string.c
gcc tls.c
gcc tod.c
gcc transport.c
gcc tree.c
gcc verify.c
gcc local_scan.c
gcc perl.c
gcc malware.c
gcc mime.c
gcc regex.c
gcc spam.c
gcc spool_mbox.c
gcc demime.c
gcc bmi_spam.c
gcc spf.c
gcc srs.c
gcc dk.c
 
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc version.c
rm -f exim
gcc -o exim
ld: warning: global symbol '_END_' has non-global binding:
        (file /usr/local/lib/liblber.so value=LOCL);
ld: warning: global symbol '_START_' has non-global binding:
        (file /usr/local/lib/liblber.so value=LOCL);
 
>>> exim binary built
 
make[1]: Leaving directory `/home/pkaturi/exim-4.66/build-SunOS5-5.10-sparc'

Open in new window



Finally run make install and still having the same issue. Btw there is no rule to run make test

make test
Password:
make: *** No rule to make target `test'.  Stop.

Open in new window


make install

Installation directory is /usr/local/exim/bin

ld.so.1: exim: fatal: libiconv.so.2: open failed: No such file or directory

*** Could not run ./exim to find version number ***
*** Exim installation failed ***
make: *** [install] Error 1

Open in new window



Please assist.
0
 
LVL 76

Expert Comment

by:arnold
ID: 39217201
Run ldd ./exim

See where it is trying to locate the missing library.
It will list
Set LD_LIBRARY_PATH
AD try ldd again.

Ldd is a tool that will report the dynamically linked libraries on which the application depends and where they are.  An alternative which will make the exim binary larger is to use static linking, but if there are any security issues discovered in libiconv, or other statically linked library, the update will require a recompilation.
0
 

Author Comment

by:prashanthkaturi
ID: 39217221
Below is the output from the machine i am trying to upgrade.

ldd ./exim
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
        libiconv.so.2 =>         (file not found)
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libdb-4.0.so =>  /usr/local/BerkeleyDB/lib//libdb-4.0.so
        libldap.so.5 =>  /usr/lib/libldap.so.5
        liblber-2.4.so.2 =>      (file not found)
        libperl.so.1 =>  /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/libperl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libcmd.so.1 =>   /lib/libcmd.so.1
        libsasl.so.1 =>  /usr/lib/libsasl.so.1
        libnspr4.so =>   /usr/lib/mps/libnspr4.so
        libplc4.so =>    /usr/lib/mps/libplc4.so
        libnss3.so =>    /usr/lib/mps/libnss3.so
        libssl3.so =>    /usr/lib/mps/libssl3.so
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libpthread.so.1 =>       /lib/libpthread.so.1
        librt.so.1 =>    /lib/librt.so.1
        libnssutil3.so =>        /usr/lib/mps/libnssutil3.so
        libplds4.so =>   /usr/lib/mps/libplds4.so
        libthread.so.1 =>        /lib/libthread.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
        /platform/SUNW,Sun-Fire-T200/lib/libmd_psr.so.1
        /usr/lib/mps/cpu/sparcv8plus/libnspr_flt4.so
pkaturi@gb0882ldaptst01 >

Open in new window



Below is the output from the machine which is running exim 3.36 and it dont have libiconv dependecy where as the newer version require.

ldd ./exim
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libdb-4.0.so =>  /usr/local/BerkeleyDB/lib//libdb-4.0.so
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libldap.so.5 =>  /usr/lib/libldap.so.5
        libperl.so.1 =>  /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/libperl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libsasl.so.1 =>  /usr/lib/libsasl.so.1
        libnspr4.so =>   /usr/lib/mps/libnspr4.so
        libplc4.so =>    /usr/lib/mps/libplc4.so
        libnss3.so =>    /usr/lib/mps/libnss3.so
        libssl3.so =>    /usr/lib/mps/libssl3.so
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libpthread.so.1 =>       /lib/libpthread.so.1
        librt.so.1 =>    /lib/librt.so.1
        libnssutil3.so =>        /usr/lib/mps/libnssutil3.so
        libplds4.so =>   /usr/lib/mps/libplds4.so
        libthread.so.1 =>        /lib/libthread.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
        /platform/SUNW,Sun-Fire-T200/lib/libmd_psr.so.1
        /usr/lib/mps/cpu/sparcv8plus/libnspr_flt4.so

Open in new window

0
 
LVL 76

Expert Comment

by:arnold
ID: 39217284
You have two missing dependencies.

The documentation for exim should include what its dependencies are.
Then make sure you have all of them installed prior to going forward.
0
 

Author Comment

by:prashanthkaturi
ID: 39219354
Thank you for the reply.

I have fixed the dependencies by creating a Symbolic link under /usr/lib for

lrwxrwxrwx   1 root     root          32 Jun  4 15:06 libiconv.so -> /usr/local/lib/libiconv.so.2.5.0
lrwxrwxrwx   1 root     root          32 Jun  4 15:07 libiconv.so.2 -> /usr/local/lib/libiconv.so.2.5.0

Open in new window


Then i ma getting below error while checking the version of exim

exim -bV
Exim version 4.66 #18 built 04-Jun-2013 02:52:07
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
Support for: iconv() Perl
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz ldap ldapdn ldapm
Authenticators:
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 4
2013-06-04 15:24:19 Exim configuration error in line 130 of /etc/exim/exim.conf:
  main option "timestamps_utc" unknown

Open in new window

0
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
ID: 39219405
I indicated that while you can create a symbolic link, a situation may arise as indicated in an earlier comment.  The error/notice you see deals with a command exim is trying to run that is not included (deprecated) in the version of iconv that is install on your system.

The error seemingly dealing with an element timestamps_utc may be due to a typo.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now