1845906 Members
3832 Online
110250 Solutions
New Discussion

Error about lsof

 
milaren
Super Advisor

Error about lsof

I had download the lsof4.70 for hpux 11.00,and installed.
But when i run lsof,an error occured:the lsof is for 32 bit kernel,but your kernel is 64bit.
Following is my machine version:
#uname -a
HP-UX hpov B.11.00 U 9000/785 2005085344 unlimited-user license

Can you help me?!
Thank you!
7 REPLIES 7
Vijaya Kumar_3
Respected Contributor

Re: Error about lsof

I think your LD_LIBRARY_PATH and SHLIB_PATH is not set correctly.
FYI, We can run both 32-bit and 64-bit programs on 64-bit kernel.

Thanks
Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Steven E. Protter
Exalted Contributor

Re: Error about lsof

If you downloaded and installed the depots from http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/ you should not be having this problem.

If you compiled from the source code, you may have compiled it wrong.

Please detail what kind of machine you have, what kind of kernel you have and what your compilation method was.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
milaren
Super Advisor

Re: Error about lsof

I down it from the same address.
my machine:
# uname -a
HP-UX hpov B.11.00 U 9000/785 2005085344 unlimited-user license
# getconf HW_CPU_SUPP_BITS
64
Error
# /usr/local/bin/lsof
lsof: FATAL: lsof was built for a 32 bit kernel, but this
is a 64 bit kernel.
Steven E. Protter
Exalted Contributor

Re: Error about lsof

I agree with the esteemed first poster.

Check the environment for LD_LIBRARY_PATH and SHLIB_PATH and do this:

swinstall -x reinstall=true -s /path_of_depot \*

I have this working on 32 bit D class boxes and 64 bit L Class.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
milaren
Super Advisor

Re: Error about lsof

what's the right set of
LD_LIBRARY_PATH and SHLIB_PATH ??
Fabio Ettore
Honored Contributor

Re: Error about lsof

Hi milaren,

see my following thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=366467

Best regards,
Ettore
WISH? IMPROVEMENT!
T G Manikandan
Honored Contributor

Re: Error about lsof

Not sure which version of lsof installed on the system you are executing.

Get the binaries from

http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/