help, how to rescue libpthread.so ? - SGI

This is a discussion on help, how to rescue libpthread.so ? - SGI ; while making symbolic link into /usr/local/lib i mangled the libpthread file actually I complitely deleted it! ls -la > /usr/lib32/libpthread.so is the file /usr/lib/libpthread.so the same it was into /usr/lib32/libpthread.so ? how can I rescue the libpthread.so in /usr/lib32 ? ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: help, how to rescue libpthread.so ?

  1. help, how to rescue libpthread.so ?

    while making symbolic link into /usr/local/lib
    i mangled the libpthread file
    actually I complitely deleted it!


    ls -la > /usr/lib32/libpthread.so

    is the file /usr/lib/libpthread.so the same it was into
    /usr/lib32/libpthread.so ?

    how can I rescue the libpthread.so in /usr/lib32 ?

    can I simply copy /usr/lib/libpthread.so into /usr/lib32 ?

    in which overlay CD image can I find it ?

    thank you

    Rick


  2. Re: help, how to rescue libpthread.so ?


    I fixed everything reinstalling patchSG0005316.eoe_sw

    it worked!
    IRIX is great!


    Rick

    In article , Rick wrote:
    > while making symbolic link into /usr/local/lib
    > i mangled the libpthread file
    > actually I complitely deleted it!
    >
    >
    > ls -la > /usr/lib32/libpthread.so
    >
    > is the file /usr/lib/libpthread.so the same it was into
    > /usr/lib32/libpthread.so ?
    >
    > how can I rescue the libpthread.so in /usr/lib32 ?
    >
    > can I simply copy /usr/lib/libpthread.so into /usr/lib32 ?
    >
    > in which overlay CD image can I find it ?
    >
    > thank you
    >
    > Rick
    >


  3. Re: help, how to rescue libpthread.so ?

    after reinstalling the patch which reinstalled the libpthread library
    I have new dates assigned to the fiels of course:

    -r--r--r-- 1 root sys 193224 Jan 2 22:39 libpthread.so

    but what I Can't really understand is why other files in /usr/sbin are
    changed?

    -rwxr-xr-x 1 root sys 236352 Jan 2 22:39 espisamchk
    -rwxr-xr-x 1 root sys 627200 Jan 2 22:39 lmnewlog
    -rwxr-xr-x 1 root sys 627200 Jan 2 22:39 lmutil
    -rwxr-xr-x 1 root sys 193340 Jan 2 22:39 pack_isam
    -rwxr-xr-x 1 root sys 169644 Jan 2 22:39 sesdaemon
    -rwxr-xr-x 1 root sys 22204 Jan 2 22:39 espdbinit
    -rwxr-xr-x 1 root sys 42956 Jan 2 22:39 espevents
    -rwxr-xr-x 1 root sys 22312 Jan 2 22:39 espquery
    -rwxr-xr-x 1 root sys 47812 Jan 2 22:39 sysevent
    -rwxr-xr-x 1 root sys 22056 Jan 2 22:39 syseventEp
    -rwxr-xr-x 1 root sys 22044 Jan 2 22:39 syseventIrix
    -rwxr-xr-x 1 root sys 590104 Jan 2 22:39 espcall
    -rwxr-xr-x 1 root sys 56412 Jan 2 22:39 espconfig
    -rwxr-xr-x 1 root sys 52316 Jan 2 22:39 espreport
    -rwxr-xr-x 1 root sys 1045888 Jan 2 22:39 configmon

    and also in /usr/bin/X11
    -rws--x--x 1 root sys 107980 Jan 2 22:39 xlock
    -rwxr-xr-x 1 root sys 187856 Jan 2 22:39 xdm

    and also in /etc

    -rwxr-xr-x 1 root sys 22456 Jan 2 22:39 amconvert
    -rwxr-xr-x 1 root sys 43592 Jan 2 22:39 rexecd
    -rwxr-xr-x 1 root sys 43396 Jan 2 22:39 amconfig
    -rwxr-xr-x 1 root sys 65296 Jan 2 22:39 amformat
    -rwxr-xr-x 1 root sys 157664 Jan 2 22:39 esphttpd
    -rwxr-xr-x 1 root sys 22284 Jan 2 22:39 confupdt
    -rwxr-xr-x 1 root sys 22080 Jan 2 22:39 rpc.espd
    -rwxr-xr-x 1 root sys 453412 Jan 2 22:39 eventmond


    is this because of rqsall ???

    thanks

    Rick

    In article , Rick wrote:
    > while making symbolic link into /usr/local/lib
    > i mangled the libpthread file
    > actually I complitely deleted it!
    >
    >
    > ls -la > /usr/lib32/libpthread.so
    >
    > is the file /usr/lib/libpthread.so the same it was into
    > /usr/lib32/libpthread.so ?
    >
    > how can I rescue the libpthread.so in /usr/lib32 ?
    >
    > can I simply copy /usr/lib/libpthread.so into /usr/lib32 ?
    >
    > in which overlay CD image can I find it ?
    >
    > thank you
    >
    > Rick
    >


  4. Re: help, how to rescue libpthread.so ?

    In article ,
    Riccardo Veraldi wrote:
    >after reinstalling the patch which reinstalled the libpthread library
    >I have new dates assigned to the fiels of course:
    >
    >-r--r--r-- 1 root sys 193224 Jan 2 22:39 libpthread.so
    >
    >but what I Can't really understand is why other files in /usr/sbin are
    >changed?
    >
    >-rwxr-xr-x 1 root sys 236352 Jan 2 22:39 espisamchk
    >-rwxr-xr-x 1 root sys 627200 Jan 2 22:39 lmnewlog

    ....
    >is this because of rqsall ???


    Unless you do
    set rqs_task rqsread
    as an inst/swmgr command, rqsall will normally run after installs
    and it processes *everything*. There is no notion of
    rqsall-just-what-I-installed

    There is just
    rqsall-the-entire-system.

    When installing system software, best to let rqsall run.

    When installing something else, rqsall is quite possibly simply
    a waste of time, so
    set rqs_task rqsread
    is sensible and will save you waiting for rqsall.
    For example, if installing compilers or debuggers rqsall is
    a waste of time, use
    set rqs_task rqsread


    Regards,
    David B. Anderson davea at sgi dot com http://reality.sgiweb.org/davea



  5. Re: help, how to rescue libpthread.so ?


    thank you...
    but if rqsall process everything why only a few files ahve the date changed ?
    and not all system binary files ?

    thanks

    Rick

    In article , David Anderson wrote:
    > In article ,
    > Riccardo Veraldi wrote:
    >>after reinstalling the patch which reinstalled the libpthread library
    >>I have new dates assigned to the fiels of course:
    >>
    >>-r--r--r-- 1 root sys 193224 Jan 2 22:39 libpthread.so
    >>
    >>but what I Can't really understand is why other files in /usr/sbin are
    >>changed?
    >>
    >>-rwxr-xr-x 1 root sys 236352 Jan 2 22:39 espisamchk
    >>-rwxr-xr-x 1 root sys 627200 Jan 2 22:39 lmnewlog

    > ...
    >>is this because of rqsall ???

    >
    > Unless you do
    > set rqs_task rqsread
    > as an inst/swmgr command, rqsall will normally run after installs
    > and it processes *everything*. There is no notion of
    > rqsall-just-what-I-installed
    >
    > There is just
    > rqsall-the-entire-system.
    >
    > When installing system software, best to let rqsall run.
    >
    > When installing something else, rqsall is quite possibly simply
    > a waste of time, so
    > set rqs_task rqsread
    > is sensible and will save you waiting for rqsall.
    > For example, if installing compilers or debuggers rqsall is
    > a waste of time, use
    > set rqs_task rqsread
    >
    >
    > Regards,
    > David B. Anderson davea at sgi dot com http://reality.sgiweb.org/davea
    >
    >


  6. Re: help, how to rescue libpthread.so ?

    In article ,
    Rick wrote:
    >
    >thank you...
    >but if rqsall process everything why only a few files ahve the date changed ?
    >and not all system binary files ?


    rqsall will change something to update the 'date stamp' for a
    DSO that it links to directly (elfdump -Dl shows the list),
    but if nothing relevant to a particular executable or DSO
    has changed then no update.

    Unfortunately there isn't any good debug option that would
    report (understandably report, I mean) what and why rqsall is
    doing what it's doing. I could believe it sometimes rewrites
    something that hasn't really changed (not that I know for sure
    it would do that).

    There are debug options, but the output is tedious and
    excessive and due to its wording can only really be understood
    with rqsall source in hand.

    rqsall will only touch things mentioned in /var/inst/.rqsfiles,
    by the way, which is why it's important not to trash that
    file...

    In short, I'm not really answering your question, but hopefully
    you'll find this an acceptable 'non answer' :-)

    David Anderson

+ Reply to Thread