Compiling problem - AIX 7.2

Tags
aix, linker

 
Thread Tools Search this Thread
# 8  
Old 06-19-2018
Thanks for your ideas.

But could you explain that : we run the script - it failed.
We replaced file " "/usr/bin/sh"
Code:
mv /usr/bin/sh /usr/bin/sh.7.2
mv /usr/bin/sh.6.1 /usr/bin/sh

Then we run the script again - it successed.
# 9  
Old 08-15-2018
imho - a lot has changed under the covers with AIX 7.2. Fortunately, binary compatibility works - which is why I expect the AIX 6.1 ksh still runs.

As you say it runs, then suddenly fails.

Have you rebooted, to see if it fails again - immediately? Or does it work for while, and then fail.

Have you compared ldd /usr/bin/ksh-6.1 with /usr/bin/ksh-7.2?

FYI: I recently tested building programs using AIX 7.1 TL5 and went back to AIX 7.1 TL4. The changes in several libraries, especially the additional ones, broke things (in running ./configure e.g., that had worked for years).

I do not have access to POWER7 and later, so no testing with AIX 7.2.

I do want to point out one more thing. Assume 7200-00-00-0000 is buggy. Update to at least 7200-00-01-XXXX. Maybe that cleans up your issue.
# 10  
Old 08-26-2018
Perhaps the old sh is linked with ksh88 while the new sh is linked with ksh93?
Then there might be a (badly written) script that only works with ksh88.
Differences
# 11  
Old 08-26-2018
Quote:
Originally Posted by MadeInGermany
Perhaps the old sh is linked with ksh88 while the new sh is linked with ksh93?
This is a perfectly justifiable assumption but i can tell you for a fact that /bin/sh is a ksh88 in AIX since version 4 introduced Korn shell as the standard shell.

I hope this helps.

bakunin

Last edited by vbe; 08-27-2018 at 09:40 AM..

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
HELP - compiling error for vsftpd on AIX 6.1 ace1 UNIX for Advanced & Expert Users 2 03-08-2014 02:36 AM
AIX server is compiling executables to 32-bits by default, how to change it? edgarvm AIX 4 09-12-2011 11:32 AM
Compiling samba problem enkei17 UNIX for Dummies Questions & Answers 0 07-15-2010 01:58 PM
Compiling Samba from Source on AIX, Active Directory, LDAP, Kerberos raidzero UNIX for Advanced & Expert Users 9 03-16-2010 09:04 PM
Compiling samba from source in AIX 5.3 raidzero AIX 4 01-18-2010 12:51 PM
Purify and AIX compiling problems. chrispav AIX 0 10-30-2008 09:54 PM
Problem in HP-UX compiling vasanthan HP-UX 1 04-20-2008 08:34 AM
Problem with Compiling C on Tiger cleansing_flame Programming 4 03-04-2008 08:01 PM
Compiling samba 3.0.27a under AIX BenediktS AIX 2 12-06-2007 10:26 AM
Compiling samba 3.0.27a under AIX BenediktS UNIX and Linux Applications 1 12-06-2007 09:44 AM
compiling thread safe c on aix rein Programming 0 03-16-2007 12:26 PM
Problem's compiling Glib tetley Solaris 2 01-25-2007 04:50 AM
Problem compiling program rochitsharma Programming 28 07-23-2006 09:56 PM
Compiling problem iandunn Solaris 1 09-21-2005 08:41 AM
compiling with aix 5.1 n-may AIX 1 05-25-2004 03:17 AM