Ask a Question related to AIX, Design and Development.

  1. #1

    Default AIX libc.a(shr.o)

    I have search the web for answer to this but had no viable results.

    In several cases (IBM HTTP Server, vanilla apache, binary apache) I receive
    very similar messages when trying to execute. For example

    exec(): 0509-036 Cannot load program ./htpasswd because of the following
    errors:
    0509-130 Symbol resolution failed for htpasswd because:
    0509-136 Symbol isinf (number 37) is not exported from
    dependent module /usr/lib/libc.a(shr.o).
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.

    Similar messages when I try to start other programs. Therefore I believe
    it's an enviromental problem rather than an issue with the subject programs.
    I would appreciate your advice.

    Lanny



    ---
    Outgoing mail is certified Virus Free-
    Odchozí posta neobsahuje viry
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.520 / Virus Database: 318 - Release Date: 9/18/2003


    Casey Guest

  2. Similar Questions and Discussions

    1. How to get the version about the libc.so.1 or libc library
      Because the libc.so.1 is just one file and not link to the file with the major or minor version like linux. Is there a command to get the libc...
    2. Libc 6.2, Debian and compiling modules for ATI Radeon 9700
      I just purchased a Radeon 9700 Pro (new MB also, Intel 875PBZ)so I could play America's Army in Linux. I used to play with a Radeon 8500LE, debian...
    3. Downgrading libc for a single program
      A program I have recently installed on my glibc-2.2.5 system is throwing a few errors, and the solution offered by the technical support department...
    4. avr-gcc/avr-libc
      Hi, I tried to compile a simple programm for my avr microprocessor, that I have found on linuxfocus. To make it short. It workes with the...
    5. hsearch() slow with Solaris 8/9 libc
      Casper H.S. Dik <Casper.Dik@Sun.COM> writes: Fixing the bad algorithm used does give a 30x time speed-up for your testcase. If you needs...
  3. #2

    Default Re: AIX libc.a(shr.o)

    "Casey" <casey.i@sympatico.ca.xxx> wrote in message news:<e7ubb.732$PT3.138302@news20.bellglobal.com>. ..
    > I have search the web for answer to this but had no viable results.
    >
    > In several cases (IBM HTTP Server, vanilla apache, binary apache) I receive
    > very similar messages when trying to execute. For example
    >
    > exec(): 0509-036 Cannot load program ./htpasswd because of the following
    > errors:
    > 0509-130 Symbol resolution failed for htpasswd because:
    > 0509-136 Symbol isinf (number 37) is not exported from
    > dependent module /usr/lib/libc.a(shr.o).
    > 0509-192 Examine .loader section symbols with the
    > 'dump -Tv' command.
    >
    > Similar messages when I try to start other programs. Therefore I believe
    > it's an enviromental problem rather than an issue with the subject programs.
    > I would appreciate your advice.
    >
    > Lanny
    Have you got your environment variable LIBPATH set correctly ?

    Steve
    Steve Nottingham Guest

  4. #3

    Default Re: AIX libc.a(shr.o)

    LIBPATH is /usr/lib:/usr/local/lib

    "Steve Nottingham" <steve@wakefieldrfc.freeserve.co.uk>
    wrote in message
    news:42862645.0309220054.6599a558@posting.google.c om...
    > "Casey" <casey.i@sympatico.ca.xxx> wrote in message
    news:<e7ubb.732$PT3.138302@news20.bellglobal.com>. ..
    > > I have search the web for answer to this but had no
    viable results.
    > >
    > > In several cases (IBM HTTP Server, vanilla apache,
    binary apache) I receive
    > > very similar messages when trying to execute. For
    example
    > >
    > > exec(): 0509-036 Cannot load program ./htpasswd because
    of the following
    > > errors:
    > > 0509-130 Symbol resolution failed for htpasswd
    because:
    > > 0509-136 Symbol isinf (number 37) is not
    exported from
    > > dependent module
    /usr/lib/libc.a(shr.o).
    > > 0509-192 Examine .loader section symbols with
    the
    > > 'dump -Tv' command.
    > >
    > > Similar messages when I try to start other programs.
    Therefore I believe
    > > it's an enviromental problem rather than an issue with
    the subject programs.
    > > I would appreciate your advice.
    > >
    > > Lanny
    >
    > Have you got your environment variable LIBPATH set
    correctly ?
    >
    > Steve

    casey Guest

  5. #4

    Default Re: AIX libc.a(shr.o)

    casey <casey.i@sympatico.ca> wrote:
    c> "Steve Nottingham" <steve@wakefieldrfc.freeserve.co.uk>
    c> wrote in message
    c> news:42862645.0309220054.6599a558@posting.google.c om...
    >> "Casey" <casey.i@sympatico.ca.xxx> wrote in message
    c> news:<e7ubb.732$PT3.138302@news20.bellglobal.com>. ..
    >> > I have search the web for answer to this but had no
    c> viable results.
    >> >
    >> > In several cases (IBM HTTP Server, vanilla apache,
    c> binary apache) I receive
    >> > very similar messages when trying to execute. For
    c> example
    >> >
    >> > exec(): 0509-036 Cannot load program ./htpasswd because
    c> of the following
    >> > errors:
    >> > 0509-130 Symbol resolution failed for htpasswd
    c> because:
    >> > 0509-136 Symbol isinf (number 37) is not
    c> exported from
    >> > dependent module
    c> /usr/lib/libc.a(shr.o).
    >> > 0509-192 Examine .loader section symbols with
    c> the
    >> > 'dump -Tv' command.
    >> >
    >> > Similar messages when I try to start other programs.
    c> Therefore I believe
    >> > it's an enviromental problem rather than an issue with
    c> the subject programs.
    >> > I would appreciate your advice.
    >> >
    >> > Lanny
    >>
    >> Have you got your environment variable LIBPATH set
    c> correctly ?

    c> LIBPATH is /usr/lib:/usr/local/lib

    Don't top-post. (See URL below.)

    Since /usr/lib is searched by default, you shouldn't need it in
    LIBPATH. I've seen funky symbol resolution problems -- not sure
    if it was on AIX or Solaris -- with including /usr/lib at the front
    of LIBPATH.

    Regards,

    Nicholas

    --
    "Why shouldn't I top-post?" [url]http://www.aglami.com/tpfaq.html[/url]
    "Meanings are another story." [url]http://www.ifas.org/wa/glossolalia.html[/url]
    Nicholas Dronen Guest

  6. #5

    Default Re: AIX libc.a(shr.o)

    casey wrote:
    > LIBPATH is /usr/lib:/usr/local/lib
    Check your levels of bos.rte.libc and bos.up[/mp]:

    lslpp -l bos.rte.libc bos.up

    on both working machines and non-working machines.
    Stop putting system library locations into LIBPATH;
    binaries _usually_ include /lib:/usr/lib internally
    (this is just general advice, BTW).

    It's likely that non-working machines have a back-level
    libc, and may require upgrading. The other thing you
    can do is "dump -Tv /usr/lib/libc.a |grep isinf" to
    make sure the symbol is exported from libc.a(shr.o). If
    it's not, an upgrade is in order. If it is, perhaps you
    have a second, older copy of libc lying around somewhere?

    --
    Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
    __________________________________________________ ______________________

    Gary R. Hook Guest

  7. #6

    Default Re: AIX libc.a(shr.o)


    "Nicholas Dronen" <ndronen@io.frii.com> wrote in message
    news:3f6f1b1b$0$62085$75868355@news.frii.net...
    > casey <casey.i@sympatico.ca> wrote:
    > c> "Steve Nottingham" <steve@wakefieldrfc.freeserve.co.uk>
    > c> wrote in message
    > c> news:42862645.0309220054.6599a558@posting.google.c om...
    > >> "Casey" <casey.i@sympatico.ca.xxx> wrote in message
    > c> news:<e7ubb.732$PT3.138302@news20.bellglobal.com>. ..
    > >> > I have search the web for answer to this but had no
    > c> viable results.
    > >> >
    > >> > In several cases (IBM HTTP Server, vanilla apache,
    > c> binary apache) I receive
    > >> > very similar messages when trying to execute. For
    > c> example
    > >> >
    > >> > exec(): 0509-036 Cannot load program ./htpasswd
    because
    > c> of the following
    > >> > errors:
    > >> > 0509-130 Symbol resolution failed for
    htpasswd
    > c> because:
    > >> > 0509-136 Symbol isinf (number 37) is not
    > c> exported from
    > >> > dependent module
    > c> /usr/lib/libc.a(shr.o).
    > >> > 0509-192 Examine .loader section symbols with
    > c> the
    > >> > 'dump -Tv' command.
    > >> >
    > >> > Similar messages when I try to start other programs.
    > c> Therefore I believe
    > >> > it's an enviromental problem rather than an issue
    with
    > c> the subject programs.
    > >> > I would appreciate your advice.
    > >> >
    > >> > Lanny
    > >>
    > >> Have you got your environment variable LIBPATH set
    > c> correctly ?
    >
    > c> LIBPATH is /usr/lib:/usr/local/lib
    >
    > Don't top-post. (See URL below.)
    >
    > Since /usr/lib is searched by default, you shouldn't need
    it in
    > LIBPATH. I've seen funky symbol resolution problems --
    not sure
    > if it was on AIX or Solaris -- with including /usr/lib at
    the front
    > of LIBPATH.
    >
    > Regards,
    >
    > Nicholas
    >
    > --
    > "Why shouldn't I top-post?"
    [url]http://www.aglami.com/tpfaq.html[/url]
    > "Meanings are another story."
    [url]http://www.ifas.org/wa/glossolalia.html[/url]

    You are absolutely correct


    casey Guest

  8. #7

    Default Re: AIX libc.a(shr.o)

    "Gary R. Hook" <nospam@nospammers.net> writes:
    > perhaps you
    > have a second, older copy of libc lying around somewhere?
    It is pretty clear from his message:

    0509-136 Symbol isinf (number 37) is not exported from
    dependent module /usr/lib/libc.a(shr.o).

    that the loader picked the *right* libc.a, so it is just a
    "bos.rte.libc is too old" issue, I think.

    Cheers,
    --
    In order to understand recursion you must first understand recursion.
    Paul Pluzhnikov Guest

  9. #8

    Default Re: AIX libc.a(shr.o)

    Paul Pluzhnikov wrote:
    > "Gary R. Hook" <nospam@nospammers.net> writes:
    >
    >
    >>perhaps you
    >>have a second, older copy of libc lying around somewhere?
    >
    >
    > It is pretty clear from his message:
    >
    > 0509-136 Symbol isinf (number 37) is not exported from
    > dependent module /usr/lib/libc.a(shr.o).
    >
    > that the loader picked the *right* libc.a, so it is just a
    > "bos.rte.libc is too old" issue, I think.
    Absolutely...

    IIRC, isinf() was added to libc somewhere around AIX 4.3.3 ML 07.
    Apache 1.3 will use isinf() if present on the build system, so
    presumably this is an Apache 1.3 built on fairly recent AIX 4.3.3 but
    installed on older AIX 4.3.3.

    Jeff Trawick Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139