1833875 Members
1656 Online
110063 Solutions
New Discussion

Re: libc.2

 
SOLVED
Go to solution
Al Langen_1
Advisor

libc.2

Patch PHCO_25640 does not contain libc.2. The error we are seeing is supposedly fixed by this patch. How? The description of the patch contains this: In a system with more than one set of locale libraries to be used by libc.1 and libc.2, libc.1 will use the wrong set of
locale libraries for the C locale. libc.1 needs to be
changed to use the locale libraries in the /usr/lib/nls/loc/locales.1 directory instead of /usr/lib/nls/loc/locales, which is a symbolic link to /usr/lib/nls/loc/locales.2 on a HP-UX 10.30 system. This
patch is needed for an HP-UX 10.20 machine if that machine is being used to build applications which you intend to run on future releases of HP-UX. This patch is not needed for
correct operation of programs on HP-UX 10.20 system, because
/usr/lib/nls/loc/locales is a symbolic link to /usr/lib/nls/loc/locales.1.

3 REPLIES 3
Steve Steel
Honored Contributor

Re: libc.2

Hi

If you look at

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbfcd7680e012d71190050090279cd0f9,00.html

You will see that libc.2 is an 11.00 library and does not exist on 10.20

You cannot work like that.

try ln -s /usr/lib/libc.1 /usr/lib/libc.2 to make a library for your tests.


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Al Langen_1
Advisor

Re: libc.2

I have seen that resolution. It does not require the patch 25640 and appears to be a workaround.

Maybe my question should be more: If patch PHCO_25640 fixes the libc.2 problem, why do I not see libc.2 after loading the patch?

Please, I am looking for an answer and not a guess.
Steve Steel
Honored Contributor
Solution

Re: libc.2

Hi


The answer there is a guess



cksum(1) Output:
1301699881 2457128 /usr/lib/libc.a
2010868942 2642540 /usr/lib/libp/libc.a
262988033 2629642 /usr/lib/libpicc.a
2204979180 1867776 /usr/lib/libc.1
3794055262 12292 /usr/lib/libdbm.1
271691768 704 /usr/lib/year2000.o

Patch Conflicts: None

Is the output of 25640 and does not include libc.2

libc.2 is for 11.x and if you need to use it here you need to use a fix



see

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1cab3a7b3682d611abdb0090277a778c,00.html


comment from olav baadsvik for the real truth.


Steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)