ADSM-L

Re: NOTE 11/20/96 11:44:00

1996-11-20 14:12:04
Subject: Re: NOTE 11/20/96 11:44:00
From: Mark G Smith <Mark.G.Smith AT MCI DOT COM>
Date: Wed, 20 Nov 1996 15:12:04 -0400
shr.o is an object that is staticly llinked into libc.a (the c runtime lib) 
which
usually lives in /lib or /usr/lib.  confirm this with "ar t /lib/libc.a" && look
for "shr.o"

you can try 3 things:
1) before you run your "mkwspswd" command, set an exported environ var named
   "SHLIB_PATH", whose value = "/lib:/usr/lib".

   (ex., sh: SHLIB_PATH=/lib:/usr/lib export SHLIB_PATH")

   now run your "mkwspswd".  if you still get the SAME error, then it was linked
   incorrectly.  you must tell ld where to look for shared libraries.

2) it must have been told to look somewhere, so see if its looking in the
   current directory.

        try "ln -s /lib/libc.a ./libc.a; mkwspswd"

   if this works, it is a sloppy fix, but if you still get the same error,
   it was definitely linked incorrectly.

3) relink the program with
        cc -o mkwspswd \
          $MYSRCLIST $MYOBJECTLIST ... -L/lib -L/usr/lib ...$OTHEROPTS...

   this will force the new mkwspswd command to look in /lib && /usr/lib without
   looking at $SHLIB_PATH.  you gotta have the source, but, This _ALWAYS_ works
   for me.

good luck...
-mark-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Nov 20, 11:44am, T. R. Rhodes wrote:
> Subject: NOTE 11/20/96 11:44:00
>       ID TRR  MS 2604
>       208-526-9903
>
>
>  I am trying to install the adsm web software on an aix 3.2.5 system.
>
>  after I run tar I try to execute mkwspswd.
>
>  I get the following errors
>
>  Could not load program mkwspswd
>  Could not load library libC.a[shr.o]
>  Error was: No such file or directory
>
>  Can anyone tell what I might be doing wrong?
>
>  Thanks before for any help
>
> tuner of the OMEGA SERVER
> LMITC
> mail trr AT inel DOT gov
>-- End of excerpt from T. R. Rhodes



--
          ___?___
          ___?___
         / ^   ^ \
        ( (o) (=) )
*=oOOO======(_)=====OOOo========*
| Mark Geoffrey Smith           |
| email = Mark.G.Smith AT mci DOT com  |
| vmail = (703) 414-4742        |
| fax   = (703) 414-9126        |
| vnet  =       235-4742        |
*=============Oooo.=============*
      .oooO   (   )
       (   )   ) /
        \ (   (_/
         \_)
<Prev in Thread] Current Thread [Next in Thread>