Error while running .so

Post questions regarding programming in C/C++ in Linux/Unix.

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

Error while running .so

Postby yatrik007 » Tue Feb 15, 2011 10:03 pm

I am running which C++ application which calls .so library at the time of executions.
But while running, it gives below error -

Code: Select all
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.
rtld: 0712-001 Symbol etd_insert__3ETDFv was referenced
      from module /bancs/aml/lib/libmonitor.so(), but a runtime definition
      of the symbol was not found.


I checked for all library. There is nothing missing.
I am running this on AIX where LIBPATH is also set correctly.
Any Solutions ?

Thanks.
yatrik007
 
Posts: 1
Joined: Tue Feb 15, 2011 9:50 pm

Re: Error while running .so

Postby ventsyv » Wed Feb 16, 2011 1:24 pm

It looks like a version mis-match to me. You have a function defined in one version that got renamed/removed in the next. Check the versions.
User avatar
ventsyv
 
Posts: 2810
Joined: Mon Sep 22, 2003 5:25 pm
Location: MD USA

Re: Error while running .so

Postby madhuti » Fri Feb 24, 2012 5:46 am

Just do a "lld library_name" and check the dependencies. if everything is OK.
Then check with "nm library_name" and grep for "etd_insert" and whether it's define(d) or undefined(u), if not defined you will get a reference error. And correct it.
madhuti
 
Posts: 1
Joined: Fri Feb 24, 2012 5:24 am


Return to Unix/Linux

Who is online

Users browsing this forum: No registered users and 1 guest