无法加载libiconv.so.2

时间:2017-04-18 12:42:58

标签: aix samba libiconv

我在AIX上遇到Samba问题。当我尝试运行/ opt / pware64 / sbin / smbd -V时出现此错误:

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

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)

转储结果-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

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

我希望得到你的帮助......

0 个答案:

没有答案