Problem with a push_back( ) and clea( ) on a  vector when trying to run a program on an AIX platform

Posted on 2009-05-14
Last Modified: 2013-11-17
I created a small test program to try to identify a problem encountered in a larger one when either is run on an AIX platform (the larger program run successfully on a linux and Solaris platforms).  The problem has been pinpointed to lines containing a push_back( ) and a clear( ) of a vector (I had commented out the push_back( ) and clear( ) in one run and got the cout messages).

This results in the following error when I try to run it through a test driver:

exec(): 0509-036 Cannot load program ADFG because of the following errors:
rtld: 0712-001 Symbol _GetRawPtr__3stdHllPlRlPlRl_RCQ2_3std6_PtritXTlTlTPlTRlTPlTRl__Pl was referenced
      from module /irb/dev3/rbatsche/RB-rbatsche4.1.5.aix.oracle10g/RB/FINANCE/lib/, but a
 runtime definition
      of the symbol was not found.
rtld: 0712-002 fatal error: exiting

I hope someone can pinpoint what the problem is and better yet, what the solution is.


void FatiList::testLongVector()
      std::vector<long> longVector;
      std::cout << "In testLongVector()." << std::endl;
      long inNumber = 100L;
      for ( int i = 0; i <= 10; ++i )
	  std::cout << "Adding number " << inNumber << " to the vector." << std::endl;
	  longVector.push_back( inNumber );
	  inNumber += 100;
      for ( int j = 0; j <= 10; ++j )
       std::cout << "Retrieving number " << longVector[j] << " from the vector." << std::endl;

Open in new window

Question by:LeslieWC
  • 3
  • 2
  • 2
  • +1
LVL 62

Accepted Solution

gheist earned 250 total points
ID: 24392589
Make sure your system has all the SG and IX patches required by your Oracle installation, and has been rebooted after.

Author Comment

ID: 24394137
Thanks, gheist.  I'll look into it.

Author Comment

ID: 24412327
gheist, I put in the paperwork to see if the patches were installed.  The Support person wasn't familiar with SG or IX.  I thought SG was Safeguard, but wasn't sure what IX is either.  Could you clarify?  Thanks.
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

LVL 62

Expert Comment

ID: 24412358
They are all APAR numbers (Authorized-Problem-Analysis-Report)
i.e bug numbers that particular patch fixes.
LVL 68

Expert Comment

ID: 24439638

here you can find the software requirements and a list of patches needed for the ORACLE 10g client on AIX:

This is the same for the ORACLE database server:


LVL 68

Expert Comment

ID: 24439650
... the above links also contain instructions on how to check whether a required fileset or patch is installed.

Assisted Solution

JIEXA earned 250 total points
ID: 24504369
longVector.push_back( (long)inNumber );

Author Closing Comment

ID: 31581453
Thanks for all your help.  I'm not sure what happened, but the problem seems to have resolved itself so at this point I'm not sure if an APAR did it.  I've been a little busy, but will see if the problem resurfaces in our latest software release.

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question