looking for libc in wrong place

From: J.W.Armstrong (J.W.Armstrong_at_Swansea.ac.uk)
Date: Fri Feb 04 2000 - 14:46:56 GMT

        I have just built and installed ups 3.34 on my Redhat linux 6.1 machine
and I get the following oddity.. I can run ups fine but when debugging it
always stops and says can not open shared library /usr/lib/libc.so.6 This
library (as well as libm.so.6) lives in /lib not /usr/lib.

        I can work around this by adding load /lib/libc.so.6 in my ~/.upsint
file but I still get a problem when debugging my code as one of my routines
calls getpwuid(getuid()) and ups stops on this line (with no reported error)
the stack looks like the following

                      <bad text address>
                      <bad text address>

But if I press continue twice I can carry one debugging as normal..

        Any one have any ideas..

                                                Thanks in advance



Email:  J.W.Armstrong_at_Swansea.ac.uk
WWW:    http://rsazure.swan.ac.uk/~rsjames

Smail:  Rockfield Software Ltd.
        Innovation Centre, SA2 8PP
        United Kingdom.

Tel:    +44 (0)1792 295551
Fax:    +44 (0)1792 295532

This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:33 GMT