AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  missing libibmldap64.a

    Posted 04/23/09 12:47 PM

    Originally posted by: WBI2007


    I am not the AIX administrator. I have a program which works under AIX 5.3. It is not working after AIX is upgraded to AIX 6.1. The error is
    Could not load program ./My_program:
    Dependent module libibmldap64.a could not be loaded.

    I called my administrator. His response was libibmldap64.a is not on all the current AIX 5.3 system and not on any of the upgraded 6.1 system.

    I am not sure if My_program will work under AIX 6.1. Can some one help me on, if this a system problem (i.e. missing libibmldap64.a ) or the error message is a result of My_program being incompatible with AIX 6.1 ?
    #AIX-Forum


  • 2.  Re: missing libibmldap64.a

    Posted 04/23/09 01:12 PM

    Originally posted by: SystemAdmin


    You need to find out which fileset contains the missing library and the availability of the library on AIX6.1.

    To do that, first do the following on the machine where the program runs normally:

    ldd your_program

    It will show you where is libibmldap64.a.

    Then use ls -l libibmldap64.a to find the real path (not the link) of the library.
    Then use lslpp -w path_to_the_lib to find which fileset contains the library.

    Then go to the machine where the program cannot run, use lslpp -h fileset_name to see if the fileset is installed. If not, you may ask your sysadmin whether he can install it.
    #AIX-Forum


  • 3.  Re: missing libibmldap64.a

    Posted 04/23/09 01:49 PM

    Originally posted by: WBI2007


    On the AIX53 system
    ldd My_program
    My_program needs:
    /usr/lib/threads/libc.a(shr_64.o)
    /unix
    /usr/lib/libcrypt.a(shr_64.o)

    On the AIX61 system
    ldd My_program
    My_program needs:
    /usr/lib/threads/libc.a(shr_64.o)
    Cannot find libibmldap64.a
    /unix
    /usr/lib/libcrypt.a(shr_64.o)

    It appears to me that libibmldap64.a is not used on AIX53. Am I right?
    #AIX-Forum


  • 4.  Re: missing libibmldap64.a

    Posted 04/23/09 02:37 PM

    Originally posted by: SystemAdmin


    My_program is not linked with libibmldap64.a, but it may call another program which depends on libibmldap64.a. Unless you know which program depends on libibmldap64.a, you cannot use ldd to find the its location.

    You may try to search for libibmldap64.a under /usr/lib:

    find /usr/lib -name libibmldap64.a

    then use lslpp -w to find which fileset contains it.
    #AIX-Forum


  • 5.  Re: missing libibmldap64.a

    Posted 04/23/09 02:53 PM

    Originally posted by: vashi


    Try this
    # /usr/lib/instl/sm_inst installp_cmd -u -f'ldap.client.adt ldap.client.rte ldap.max_crypto_client.adt ldap.max_crypto_client.rte' '-g'

    Link LDAP Client Libraries
    1. /opt/IBM/ldap/V6.1/bin/idslink -i -l 32

    #AIX-Forum


  • 6.  Re: missing libibmldap64.a

    Posted 04/23/09 03:17 PM

    Originally posted by: WBI2007


    on the AIX 53 system, my AIX admin found
    /usr/lib/libibmldap64.a -> /usr/ldap/lib/aix5/libibmldap64n.a

    But on the AIX 61 system, he only found
    /usr/lib/libibmldap.a -> /opt/IBM/ldap/V6.1/lib/libidsldap.a

    I do not want to jump the any conclusion that there is something wrong with the system. Does anyone know why AIX61 is different? The '64' normally means 64 bit support. Shoudl that also be on AIX 61?
    #AIX-Forum


  • 7.  Re: missing libibmldap64.a

    Posted 04/23/09 04:33 PM

    Originally posted by: KentPerrier


    AIX6 is 64 bit only. They probably removed the 64 from the filename as it was redundant. Have you recompiled your program on the AIX 6.1 machine?
    #AIX-Forum