Error while running .so


 
Thread Tools Search this Thread
Operating Systems AIX Error while running .so
# 1  
Old 01-13-2011
Error while running .so

I am running a C++ shared object on AIX.
But Its not running and throwing below error -

rtld: 0712-001 Symbol __ct__3ETDFv was referenced
from module /bancs/aml/lib/libmonitor.so(), but a runtime definition
of the symbol was not found.

I am using xlC.rte version 9.0.0.1
I have also set the LIBPATH still it is not working.
The same .so file is running on another server so there can not be any issue with file. LIBPATH is also same on both the servers.Smilie
# 2  
Old 01-13-2011
You could try and track down where the symbol is found on the working machine.
Have a look at the output from "dump -H" on the shared object, and then use "nm" to dump the symbols in each of the libraries and grep for __ct__3ETDFv. Once youve found it on the working machine, you can check the failing machine, and that should give you an idea of which library has been fixed or is missing...

Also, have you checked patch/maintenence levels on both machines ?
Might not just be the C++ runtime.
Try diff'ing the output of "instfix -ic" on both machines.
# 3  
Old 01-17-2011
Hello,

I found that path / maintainance level is not same on both the servers.
There are many patches present on the server where it is running but they are not there on test server.

But I don't know how to update the server with missing patches.
Please help.
# 4  
Old 01-17-2011
You can download the maintenance level from IBM and use smitty to install it.
Go to here
# 5  
Old 01-18-2011
Thanks for ur reply.
I have tried to do dump -H on my .so.
It gives me

Base as libC.a and members as shr.o, shr2.o.

Then I deed nm on libC.a but its output is same on both the servers and it does not have __ct__3ETDFv symbol.

Am I missing something ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error running script

Hi, I have the the below script more runcda.sh if *\).*/\1/p' $1_dr) ]; then echo "ParallelGCThreads Found with Value" else echo "ParallelGCThreads Not Found - Add !!" fi $ ./runcda.sh output.log ./runcda.sh: test: argument expected ParallelGCThreads Not Found - Add !! Why am i... (2 Replies)
Discussion started by: mohtashims
2 Replies

2. Shell Programming and Scripting

Error while running Rsync

hi All, i am getting some error while running Rsync, and unable to find error at Google even, could anyone help me here please. ---------- Post updated 08-31-13 at 07:47 AM ---------- Previous update was 08-30-13 at 04:35 PM ---------- above problem got resolved because it was not... (4 Replies)
Discussion started by: lovelysethii
4 Replies

3. UNIX for Dummies Questions & Answers

error while running nm command

I am running nm for a file. the command is nm -f libC.a but it gives below error nm: libC.a: 0654-203 Specify an XCOFF object module. any solution ? Please use and tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks. (2 Replies)
Discussion started by: yatrik007
2 Replies

4. Solaris

Error when running script

Hi All, Need your guuys help here. #!/bin/bash { echo "POLICY LIST" echo "====================================" bppllist echo " " echo "POLICY DETAILS" echo "====================================" for type in daily weekly monthly quarterly echo... (6 Replies)
Discussion started by: ronny_nch
6 Replies

5. Programming

Error while running the C code

Hi Sir, I am running C program which include directfb.h header files. root@lxdevenv:~/Desktop# vi n.c root@lxdevenv:~/Desktop# gcc n.c -o n -I/usr/local/include/directfb -L/usr/local/lib -ldirectfb -lfusion -ldirect -lpthread -lm n.c: In function ‘main':... (2 Replies)
Discussion started by: Ravikishore
2 Replies

6. UNIX for Dummies Questions & Answers

error while running a makefile

any good website to know about makefiles (3 Replies)
Discussion started by: raviravula
3 Replies

7. Shell Programming and Scripting

error in in running script

Hi all, I have created a script file .sh and had some allias commands, local variable, some grep features, and listing files/directories, and it worked correctly and I got the outputs I am looking for after I run the script . However, some of the grep commands and some other functions did not... (2 Replies)
Discussion started by: aama100
2 Replies

8. Shell Programming and Scripting

When running if condition, getting the following error

Hi All, My input file name is 1.sh the contents of file are cat status2.txt | while read filename do echo "$filename" echo "first content of the file is ${filename}" echo "second content of the file is ${filename}" echo "second content of the file is ${filename}" if } -eq 0 -a... (1 Reply)
Discussion started by: sunitachoudhury
1 Replies

9. Programming

Error when running make

Hi , I get the following error when i run the make command. cc -Aa -DUNIX -osrcmpmn srcmpmn.c crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000014 *** Error exit code 14 here the file is C program which has been modified. Please help. (1 Reply)
Discussion started by: shashidhara_01
1 Replies

10. UNIX for Dummies Questions & Answers

Error while running a script

Hi all, By running a (command) script I'm getting the following error: .: /usr/bin/test: cannot execute binary file This is the command: $ . test The script (test) is very simple sqlplus user/password @1.sql sqlplus user/password @2.sql Can enyone tell me what the problem is. (5 Replies)
Discussion started by: HarryTellegen
5 Replies
Login or Register to Ask a Question