Home Man
Search
Today's Posts
Register

AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Compiling problem - AIX 7.2

Tags
aix, linker

Login to Reply

 
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 08:40 AM..
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Library problem - not compiling in c joseamck Programming 2 06-17-2012 11:13 AM
Problem with static compiling - GCC majid.merkava Programming 4 09-25-2010 02:33 AM
Compiling samba problem enkei17 UNIX for Dummies Questions & Answers 0 07-15-2010 12:58 PM
Problem in HP-UX compiling vasanthan HP-UX 1 04-20-2008 07:34 AM
Problem with Compiling C on Tiger cleansing_flame Programming 4 03-04-2008 07:01 PM
Problem's compiling Glib tetley Solaris 2 01-25-2007 03:50 AM
Problem compiling program rochitsharma Programming 28 07-23-2006 08:56 PM
Problem in PowerDNS compiling secret4all Solaris 0 10-12-2005 11:47 PM
Compiling problem iandunn Solaris 1 09-21-2005 07:41 AM
Problem compiling metamail ahnishimi Programming 2 01-31-2002 01:02 PM


All times are GMT -4. The time now is 12:30 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password