AIX

AIX

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


#Power
#Power
 View Only
  • 1.  Executing ldd command on shared library, I am getting archive file error

    Posted Thu March 15, 2007 05:10 AM

    Originally posted by: SystemAdmin


    Hi ALL,

    I am facing some problem with AIX 5.2. I am not able to figure out what I am missing here. I have installed 64 bit application on AIX machine and when I execute ldd command with its shared library it gives me following error

    informes@sh1aix52 bin$ ldd libessopgnS.a

    libessopgnS.a needs:

    /bu/smallisv/informatica/informes/Hyperion93_64bit/AnalyticServices/bin/libessglobuS.a

    /bu/smallisv/informatica/informes/Hyperion93_64bit/AnalyticServices/bin/libessnetuS.a

    /bu/smallisv/informatica/informes/Hyperion93_64bit/AnalyticServices/bin/libesssduS.a

    /bu/smallisv/informatica/informes/Hyperion93_64bit/AnalyticServices/bin/libessutluS.a

    /bu/smallisv/informatica/informes/Informatica/PowerCenter8.1.1_64bit/server/bin/libglobalcS.a

    /usr/lib/libC.a(shrcore_64.o)

    ar: 0707-109 Member name shrcore_64.o does not exist.

    dump: /tmp/tmpdir323820/shrcore_64.o: 0654-106 Cannot open the specified file.

    /usr/lib/libC.a(ansi_64.o)

    /usr/lib/libpthreads.a(shr_xpg5_64.o)

    /usr/lib/libc.a(shr_64.o)

    /usr/lib/libC.a(shr_64.o)

    /usr/lib/libC.a(shr2_64.o)

    /usr/lib/libC.a(shr3_64.o)

    /unix

    /usr/lib/libcrypt.a(shr_64.o)

    /usr/lib/libc_r.a(shr_64.o)

    Could you please provide me assistance to resolve this issue?

    Thanks in Advance,

    Amol
    #AIX-Forum


  • 2.  Re: Executing ldd command on shared library, I am getting archive file error

    Posted Thu March 15, 2007 07:36 AM

    Originally posted by: SystemAdmin


    It looks like you're running with a 32-bit kernel. Try running command

    bootinfo -K

    to check it out.
    #AIX-Forum


  • 3.  Re: Executing ldd command on shared library, I am getting archive file error

    Posted Fri March 16, 2007 03:21 AM

    Originally posted by: SystemAdmin


    Thanks for your inputs.

    Kernel mode is 64 bit. We are running another 64 bit application on this machine and it is working fine. I get this problem when i execute ldd command on shared library of different application. One more thing that i want to add here we dont have /usr/local/lib directory instead of that we have put system libraries in the /usr/lib. Please let me know if it is causing this problem.

    Regards,
    Amol
    #AIX-Forum


  • 4.  Re: Executing ldd command on shared library, I am getting archive file error

    Posted Fri March 16, 2007 07:21 AM

    Originally posted by: SystemAdmin


    I should never reply to these things before having a coffee, sorry about that. The library it's complaining about is part of the C compiler. On my system it looks like:

    07:15:17jlane:~$ ls -l /usr/lib/libC.a
    lrwxrwxrwx 1 bin bin 23 2006-09-29 14:30 /usr/lib/libC.a -> /usr/lpp/xlC/lib/libC.a

    Try running a dump command to see what's in this archive:

    07:17:26jlane@unixi301d:~$ dump -a /usr/lib/libC.a | grep shrcore
    shrcore.o Apr 06 21:02:14 2006 1703 244 000775 0x0004026c
    shrcore_64.o Apr 06 21:04:18 2006 1703 244 000775 0x00033a34

    It looks like your system is missing 64-bit routines in this compiler library. What version do you have?
    #AIX-Forum


  • 5.  Re: Executing ldd command on shared library, I am getting archive file error

    Posted Thu March 29, 2007 03:16 AM

    Originally posted by: SystemAdmin


    Hi ,
    the system version is 5200-02.

    Please help in resolving the issue

    thanks in advance

    ragrds
    viay
    #AIX-Forum