Lets bring that back to product manager AIX, there is an TCC this week (F2F), so I sent the wish to him for an lsof "update" so the warnings dissapear and saves us the time for answering the same question over-and-over again.
Our AIX PS find the 4.89 misses this-ish:
if AIXV<5000
...
if (Fwarn)
return;
else
...
endif
/S
Original Message:
Sent: Thu September 21, 2023 09:08 AM
From: C- -T
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
i started building my own lsof binary an using this, as this problem is still not fixed...so no i have no idea when this will be fixed, if ever...
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Thu September 21, 2023 08:18 AM
From: HENRY PEINADO RIOS
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
Hello, I have the same problem. I have installed for my OS version, but I still get the same Warning. Any idea why?
# lsof -v
lsof version information:
revision: 4.89
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
configuration info: 64 bit kernel
constructed: Wed Jun 8 08:49:24 CDT 2022
constructed by and on: root@bldopensrc3
compiler: cc
compiler version: IBM XL C for AIX, Version 11.1.0.1 ./lsof_Configure_tmp_17825800.c 06/08/22 08:48:06 (C)
compiler flags: -DHAS_NFS -DHASIPv6 -DHASSTAT64 -DHAS_JFS2 -I/lsof/lsof_4.89_src/dialects/aix/aix5 -q64 -DAIX_KERNBITS=64 -DAIXA=1 -DAIXV=7100 -qmaxmem=-1 -DHAS_STRFTIME -DLSOF_VSTR="7.1.0.0" -O
loader flags: -L./lib -llsof -bnolibpath
system info: AIX bldopensrc3 1 7 00F7CD554C00
Only root can list all files.
/dev warnings are enabled.
Kernel ID check is enabled.
Device cache file read-only paths:
Named via -D: none
Named in environment variable LSOFDEVCACHE: none
Personal path format (HASPERSDC): "%h/%p.lsof_%L"
Modified personal path environment variable: LSOFPERSDCPATH
LSOFPERSDCPATH value: none
Personal path: /root/.lsof_UES900600
Device cache file write paths:
Named via -D: none
Named in environment variable LSOFDEVCACHE: none
Personal path format (HASPERSDC): "%h/%p.lsof_%L"
Modified personal path environment variable: LSOFPERSDCPATH
LSOFPERSDCPATH value: none
Personal path: /root/.lsof_UES900600
# oslevel -s
7200-05-06-2320
# lsof -i tcp:22 | head
lsof: WARNING: compiled for AIX version 7.1.0.0; this is 7.2.0.0.
------------------------------
HENRY PEINADO RIOS
Original Message:
Sent: Wed February 08, 2023 12:29 AM
From: Victor Guzman
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
Hello
For the version 7.1.0.4892 of lsof it shows me the following warning:
lsof: WARNING: compiled for AIX version 7.1.0.0; this is 7.2.0.0
Help me, thanks.
Victor.
------------------------------
Victor Guzman
Original Message:
Sent: Thu July 07, 2022 11:35 AM
From: Stephan Dietl
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
@Sandeep Umesh
Thank you :) !
With kind regards,
------------------------------
Stephan Dietl
Original Message:
Sent: Thu July 07, 2022 11:31 AM
From: Sandeep Umesh
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
Yes, we are working towards it. The web page will be soon updated. Thanks
------------------------------
Sandeep Umesh
Original Message:
Sent: Thu July 07, 2022 11:24 AM
From: Stephan Dietl
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
Hey @C- -T !
Exactly, so if I´m not doing it wrong I think they should upgrade their information from:
to -->
With kind regards,
Stephan Dietl
------------------------------
Stephan Dietl
Original Message:
Sent: Thu July 07, 2022 10:41 AM
From: C- -T
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
as ibm switched their buildhost to aix 7.1, i would gues the binaries are no more 6.1 compatible.
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Thu July 07, 2022 10:34 AM
From: Stephan Dietl
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
Hello!
Anybody ideas on this :) ?
Thanks,
with kind regards,
Stephan Dietl
------------------------------
Stephan Dietl
Original Message:
Sent: Wed June 22, 2022 10:28 AM
From: Stephan Dietl
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
Hello @Sandeep Umesh !
Thanks for uploading the new versions of lsof, but although in MRS it states (text made bold by me):
"
"
...only 4.891 is usable on our remaining few AIX 6.1, 4.892 throws an error after successful installation:
"lsof.man.en_US 7.1.0.4892 USR APPLY SUCCESS
lsof.license 7.1.0.4892 USR APPLY SUCCESS
lsof.base 7.1.0.4892 USR APPLY SUCCESS
lsof.base 7.1.0.4892 ROOT APPLY SUCCESS
# User@host: # lsof -i
exec(): 0509-036 Cannot load program lsof because of the following errors:
0509-130 Symbol resolution failed for lsof because:
0509-136 Symbol ___strcmp64 (number 17) is not exported from
dependent module /usr/lib/libc.a[shr_64.o].
0509-136 Symbol ___strcpy64 (number 20) is not exported from
dependent module /usr/lib/libc.a[shr_64.o].
0509-136 Symbol __setjmp (number 23) is not exported from
dependent module /usr/lib/libc.a[shr_64.o].
0509-192 Examine .loader section symbols with the
'dump -Tv' command."
oslevel -s shows AIX 6.1 TL 9 SP 12.
Is this expected behaviour? 4.891 works fine on the AIX 6.1 hosts.
Thanks,
With kind regards,
Steve
------------------------------
Stephan Dietl
Original Message:
Sent: Tue June 14, 2022 08:17 AM
From: Sandeep Umesh
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
Hello
We will publish a new version of lsof that will address the -w option issue.
Can you please verify it ?
ETA for this release in 20th June 2022. It will be made available in MRS.
------------------------------
Sandeep Umesh
Original Message:
Sent: Tue March 29, 2022 07:37 AM
From: C- -T
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
https://github.com/lsof-org/lsof/issues/187#issuecomment-1071323804
the lsof guys are calling for a pull request, when will this happen? if all fails, i am willing to do the pr. but i need an exact description of the proposed TESTED changes (patch), the "solution" mentioned in the issue is rather pointless.
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Wed February 09, 2022 05:06 AM
From: C- -T
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
opening an issue leads nowhere, you should create an pull request
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Thu January 20, 2022 09:43 AM
From: Sandeep Umesh
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
We further looked at the code and there is a missing check in community code. We have opened community defect for the same :
https://github.com/lsof-org/lsof/issues/187
Once this issue is fixed, we will apply the patch, rebuild and provide the fileset in web download pack.
For further assistance, you can also open AIX support case for lsof.
Thanks
------------------------------
Sandeep Umesh
Original Message:
Sent: Thu January 20, 2022 07:48 AM
From: C- -T
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
msr only contains version 4.89. this versions prints the warning message, so this is of no help
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Thu January 20, 2022 06:06 AM
From: Juergen Maehlmann
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
you may download lsof, as well as openssh/ssl from marketing registration service:
https://www-01.ibm.com/marketing/iwm/platform/mrs/assets?source=aixbp
login with your normal ibm-id and password.
maybe you need to be granted access (to long ago, that i used this url first time)
------------------------------
Juergen Maehlmann
Original Message:
Sent: Wed January 19, 2022 02:54 AM
From: C- -T
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Wed January 19, 2022 02:37 AM
From: SANKET RATHI
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
What is the warning message ?
------------------------------
SANKET RATHI
Original Message:
Sent: Wed January 19, 2022 02:12 AM
From: C- -T
Subject: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.
hi,
i am aware lsof is not in aixtoolbox, but i guess it comes out of your incubator somehow.
lsof for aix prints out this warning message which is quite annoying when using lsof in scripts/automation. we have version 4.89 installed and there is no newer version available in MRS. the -w switch does not help, as this seems to be an explicit enabled development warning. so how to get rid of this message?
wbr
chris
------------------------------
I regret starting this entire conversation
------------------------------