Fixes are available
August 2011 PTF for XL C/C++ for AIX, V11.1
November 2011 PTF for XL C/C++ for AIX, V11.1
January 2012 PTF for XL C for AIX, V11.1
January 2012 PTF for XL C/C++ for AIX, V11.1
April 2012 PTF for XL C for AIX, V11.1
April 2012 PTF for XL C/C++ for AIX, V11.1
July 2012 PTF for XL C/C++ for AIX, V11.1
October 2012 PTF for XL C for AIX, V11.1
October 2012 PTF for XL C/C++ for AIX, V11.1
February 2013 PTF for XL C for AIX, V11.1
February 2013 PTF for XL C/C++ for AIX, V11.1
XL C/C++ for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 22 (September 2015 PTF) for 11.1
XL C for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 24 (September 2016 PTF) for 11.1
August 2011 PTF for XL C for AIX, V11.1
November 2011 PTF for XL C for AIX, V11.1
July 2012 PTF for XL C for AIX, V11.1
XL C for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 22 (September 2015 PTF) for 11.1
APAR status
Closed as program error.
Error description
A test program linked with the icu-4.6.1 library fails to load in IBM Debugger for AIX, V7.1 with the following error on AIX 6.1: "Unable to load program testcase/debugger/29472,035,724/dbg_test /foo. The load failed because the exec() function failed. " Running the test case by itself on AIX6.1, the program could be loaded. It only fails to load when running in IDEBUG on AIX6.1. On AIX5.3, idebug 7.1 can also load it. $cat foo.cpp #include <unicode/unistr.h> int main() { UnicodeString us = UNICODE_STRING_SIMPLE( "FooBar" ); return 0; } xlC -q64 -g -I ../contrib/icu-4.6.1/include -L ../contrib/icu-4.6.1/lib -licuuc -licui18n foo.cpp -o foo
Local fix
export LIBPATH=<path to directory>/contrib/icu-4.6.1/lib Then run the debugger.
Problem summary
PROBLEM DESCRIPTION: The debugger was adding ./usr/lib:/lib. to the LIBPATH when no LIBPATH was specified. In this particular case, a production version of one of the libraries needed by the application already existed in /usr/lib but was out of date. So it gets picked up instead of the one in the application library folder. This resulted in the exec of the debuggee failing due to it not finding the correct shard libraries in the archive. USERS AFFECTED: Any user who is working on a system where a production version of the one of the libraries needed by the application already existed in /usr/lib but was out of date.
Problem conclusion
When LIBPATH is not set, leave it unset. Problem is resolved. Apply service.
Temporary fix
Comments
APAR Information
APAR number
SE48269
Reported component name
AIX SVR SIDE RU
Reported component ID
5724Y9904
Reported release
760
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-06-23
Closed date
2011-08-09
Last modified date
2011-08-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX SVR SIDE RU
Fixed component ID
5724Y9904
Applicable component levels
Document Information
Modified date:
10 August 2011