libiconv.so.2 could not be loaded

1

I have problem with Samba on AIX. When I try to run /opt/pware64/sbin/smbd -V I get this error:

Could not load program /opt/pware64/sbin/smbd:
Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
Member libiconv.so.2 is not found in archive

The result of ldd /opt/pware64/sbin/smbd:

/opt/pware64/sbin/smbd needs:
         /opt/pware64/lib/libldap.so
         /opt/pware64/lib/liblber.so
         /opt/pware64/lib/libgssapi_krb5.so
         /opt/pware64/lib/libkrb5.so
         /opt/pware64/lib/libk5crypto.so
         /opt/pware64/lib/libcom_err.so
         /usr/lib/libpthreads.a(shr_xpg5_64.o)
         /usr/lib/libpam.a(shr_64.o)
         /opt/pware64/lib/libiconv.a(libiconv.so.2)
         /usr/lib/librt.a(posix_aio_64.o)
         /opt/pware64/lib/libpopt.a(libpopt.so.0)
         /opt/pware64/lib/libtalloc.so
         /opt/pware64/lib/libtdb.so
         /opt/pware64/lib/libwbclient.so
         /opt/pware64/lib/libz.so
         /usr/lib/libc.a(shr_64.o)
         /usr/lib/libc.a(posix_aio_64.o)
         /usr/lib/libpthread.a(shr_xpg5_64.o)
         /opt/pware64/lib/libsasl2.a(libsasl2.so.2)
         /opt/pware64/lib/libssl.so
         /opt/pware64/lib/libcrypto.so
         /usr/lib/libs.a(shr_64.o)
         /opt/pware64/lib/libkrb5support.so
         /unix
         /usr/lib/libmls.a(shr_64.o)
         /opt/pware64/lib/libintl.a(libintl.so.8)
         /usr/lib/libcrypt.a(shr_64.o)
         /usr/lib/libdl.a(shr_64.o)
         /usr/lib/libmlsenc.a(shr_64.o)
         /usr/lib/libodm.a(shr_64.o)

The result of dump -H -X32_64 /opt/pware64/sbin/smbd:

/opt/pware64/sbin/smbd:

                        ***Loader Section***
                      Loader Header Information
VERSION#         #SYMtableENT     #RELOCent        LENidSTR
0x00000001       0x00002ba4       0x0000b4f2       0x00000156       

#IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
0x00000012       0x000f66b8       0x00049190       0x000f680e       


                        ***Import File Strings***
INDEX  PATH                          BASE                MEMBER
    /opt/pware64/lib::/usr/lib:/lib
                                  libldap.so
                                  liblber.so
                                  libgssapi_krb5.so
                                  libkrb5.so
                                  libk5crypto.so
                                  libcom_err.so
                                  libpthreads.a       shr_xpg5_64.o
                                  libpam.a            shr_64.o
                                  libiconv.a          libiconv.so.2
                                  librt.a             posix_aio_64.o
                                  libpopt.a           libpopt.so.0
                                  libtalloc.so
                                  libtdb.so
                                  libwbclient.so
                                  libz.so
                                  libc.a              shr_64.o
                                  libc.a              posix_aio_64.o

The result of ar -X32_64 tv /opt/pware64/lib/libiconv.a:

rwxr-xr-x     0/0     1806382 Aug 11 14:53 2012 libiconv.so.2
r--r--r--     0/0     153502 Aug 11 14:53 2012 shr4_64.o

I hope for your help...

aix
samba
libiconv
asked on Stack Overflow Apr 18, 2017 by (unknown user) • edited Apr 28, 2017 by (unknown user)

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0