Operating System - HP-UX
1836872 Members
2211 Online
110110 Solutions
New Discussion

Need "ls" as statically linked binary.

 
SOLVED
Go to solution
Ram Sivaguru
New Member

Need "ls" as statically linked binary.

I have a need for a statically linked binary for the "ls" command in HP-UX 10.20 and HP-UX 11.0 (should not have been linked to the standard C libraries). Would someone point me in the right direction.

Alternatively is there a way to get to the source code or the binary itself would help.
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: Need "ls" as statically linked binary.

Hi:

See /sbin/ls versus /usr/bin/ls

...JRF...
Patrick Wallek
Honored Contributor

Re: Need "ls" as statically linked binary.

You can download a copy of the Gnu fileutils. This includes a copy of ls that I think is statically linked.

Try this link to get to it:

http://hpux.cae.wisc.edu/hppd/hpux/Gnu/fileutils-4.0.31/