C++ executable is not loading in AIX 6.1 OS LEVEL 6100-09 with Oracle11g.


 
Thread Tools Search this Thread
Top Forums Programming C++ executable is not loading in AIX 6.1 OS LEVEL 6100-09 with Oracle11g.
# 8  
Old 02-10-2015
Apparently AIX has a very limited ldd command. However, when you compiled, all symbols were resolved. Somewhere in the compile is a full path to a library or object, or an -L option that specifices where to find dynamic objects, or a -R PATH, and you need that directory/PATH in the exported LIBPATH environment variable. The linking part of the compile is described in the ld command: IBM Knowledge Center
# 9  
Old 03-16-2015
An additional way to debug is to use dump -H of the executable as well as the libraries.

Seeing the output of the program when it fails is also useful for debugging. You need to read the error message carefully as it tells you which member it is loading and that member cannot find a dependency - and which dependency iit is missing.

Or have you solved this already?

If so, please share your solution!

---------- Post updated at 12:33 PM ---------- Previous update was at 12:18 PM ----------

Errr... Preview threw it all away. So, short version.

ofsrm <> testExe

Based on the error message I would compare dump -H of the following files:

  • ofsrm
  • testExe
  • /build1/build/SourcePro/ficdb/lib/libFSGBU/libaccess.a

Probably, the last (the archive) does not have an accurate library search path.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

C++ executable is not loading in AIX 6.1 OS LEVEL 6100-09 with Oracle11g.

Hi Everybody, I am getting following error message during execution of my c++ executable "ofsrm" . I am using AIX 6.1 OS LEVEL 6100-09 with Oracle 11g database. Any suggestion on the same? Could not load program ofsrm: rtld: 0712-001 Symbol GetOracleDriver__FiPc was referenced from module ... (1 Reply)
Discussion started by: Ratikanta
1 Replies

2. AIX

Loading AIX kernel extensions on reboot

Greetings, Does anyone know how to load AIX kernel extensions on reboot? I know that Oracle loads it's postwait kernel extension via a executable in /etc/inittab. I'm assuming this executable calls the "sysconfig" system call and loads it. What if I wrote my own? What is the proper way in AIX to... (3 Replies)
Discussion started by: jbleistein
3 Replies

3. AIX

AIX OS level

I currently have 2 servers running AIX 6.1 on them, but the OS level is listed differently in WSM. I am fairly new to AIX and just re-installed the OS on one of the boxes that originally had 5.1 on it. It now shows 6.1.0.0, whereas the other one shows 6.1.3.0. I have been trying to figure out how... (2 Replies)
Discussion started by: rifamilyguy
2 Replies

4. AIX

From 6100-04-01-0944 to 6100-07-02-1150 ...HOW?

Any information will be appreciated.:wall: (2 Replies)
Discussion started by: 300zxmuro
2 Replies

5. Programming

Pro*C not running in oracle11g R2 on AIX 6.1....

Hi All, When I am running a pro*c executable on an AIX 6.1.0.0 and Oracle 11gR2 environment which is complied in AIX 6.1.0.0 and Oracle 11gR2 environment only , I am getting segment fault error . When the same code is getting compiled in AIX5.3 Oracle 10gR2 env and run in AIX5.3 Oracle 10gR2 ,... (0 Replies)
Discussion started by: amaniitd
0 Replies

6. AIX

Loading a shared library in AIX

Hi, I have an application running on AIX. The app is deployed on Webspshere server. Due to some reason, i have to make use of a third party library (Sigar API's) from my application. This library requires an .so file as well. Is there any location where i can put this *.so file and it will... (1 Reply)
Discussion started by: user_guest
1 Replies

7. AIX

Compile PHP in AIX: Loading issues

Finally I was able to compile PHP on AIX. When I try to load from Apache, I get the below error. /install/usr/local/apache2/bin:>apachectl -f /install/usr/local/apache2/conf/httpd.conf -k stop httpd: Syntax error on line 53 of /install/usr/local/apache2/conf/httpd.conf: Cannot load... (0 Replies)
Discussion started by: KarthikKannan
0 Replies

8. AIX

"fuser -c -k /XXX/XXXXXXX" Fails and stuck on AIX 6100-05-01-1016

Hi I was wondering if anybody has come across in a failure of fuser command. We have a backup script that is: fuser -c -k /XXX/XXXXXXX sync;sync umount /XXX/XXXXXXX/ backup -0 -f /dev/rmt0.1 -u /dev/XXXXXXXlv mount /XXX/XXXXXXX/ sync;sync The script is called from crontab via an... (2 Replies)
Discussion started by: ggovotsis
2 Replies

9. AIX

How to upgrade AIX Firmware & TL Maintenance Level in AIX

Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS ) This article or post covers upgrades for - Hardware Management Console ( HMC ) - Firmware ( also known as microcode ) - VIO ( Virtual I/O Server = PowerVM ) - AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies

10. AIX

AIX Technology Level 9

Hi Guys I am currently running AIX 5.3 technology level 6 on a 570, but want to go up to level 9. However I am struggling to find on IBM's website the new features that it brings in, along with the commands for these new features. Can any one help me with this? Thanks (7 Replies)
Discussion started by: ryanbsc@gmail.c
7 Replies
Login or Register to Ask a Question