Operating System - HP-UX
1833882 Members
1925 Online
110063 Solutions
New Discussion

Re: HPUX- 10.20 -> Problems: missing /usr/lib/lib2.c

 
SOLVED
Go to solution
Francisco Mancardi_1
Frequent Advisor

HPUX- 10.20 -> Problems: missing /usr/lib/lib2.c

I'm working in the following machine
# model
9000/785/B2000

$ uname -a
HP-UX arrayan B.10.20 A 9000/785 2005308127 two-user license
$

When I try to launch an application (sysinfo) I get the following error

/usr/lib/dld.sl: Can't open shared library: /usr/lib/libc.2
/usr/lib/dld.sl: No such file or directory

If : # ls /usr/lib/libc.2 -> file doesn't exists

Is something missing in my installation ?

Thanks

Francisco
5 REPLIES 5
Alex Glennie
Honored Contributor

Re: HPUX- 10.20 -> Problems: missing /usr/lib/lib2.c

I think you'll find libc.2 is an hpux 11.00 library ..... in which case your executable will only run on hpux 11.00 systems .
Francisco Mancardi_1
Frequent Advisor

Re: HPUX- 10.20 -> Problems: missing /usr/lib/lib2.c

O.K.
Where Can I find the listing of HPUX-11 specific libraries ?


Best Regards
franco_13
New Member

Re: HPUX- 10.20 -> Problems: missing /usr/lib/lib2.c

The /usr/lib/libc.2 is for HP-UX 11.00.
Are you installing the sysinfo for HP-UX 10.20?

tell me
bye
Sanseverino
Santosh Nair_1
Honored Contributor

Re: HPUX- 10.20 -> Problems: missing /usr/lib/lib2.c

As Alex and franco have already said, the executable that you are trying to run was built for (and probably on) an HPUX 11.0 machine and so will NOT run on a HPUX 10.20 machine. The executable is trying to find libc.2, which exist only on 11.x machines.

Try downloading the 10.20 version of the executable from :

http://hpux.cs.utah.edu

-Santosh
Life is what's happening while you're busy making other plans
Edward Alfert_2
Respected Contributor
Solution

Re: HPUX- 10.20 -> Problems: missing /usr/lib/lib2.c

libc.2 is in fact for 11.0...

Take a look at this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf0def9beca68d511abcd0090277a778c,00.html

it seems you can copy it manually if you have another 11.0 box... this might work for you... It seems to have worked for this other person.
"Do what you love and you will never work a day in your life." - Confucius