Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Undefined symbol problems with the run time linker

32 views
Skip to first unread message

Shaun Clowes

unread,
Nov 28, 2003, 1:14:39 AM11/28/03
to
Hi All,

We're having weird problems trying to get an application that uses STLport
to run. The application terminates with the following errors:

rtld: 0712-001 Symbol CXpScheduleClient*
_STL::find<CXpScheduleClient*,CXpScheduleClient>(CXpScheduleClient*,CXpSched
uleClient*,const CXpScheduleClient&) was referenced
from module /stuff/libirsched-dbg.so(), but a runtime definition
of the symbol was not found.

rtld: 0712-001 Symbol
_STL::_List_base<CXpScheduledPeriod,_STL::allocator<CXpScheduledPeriod>
>::clear() was referenced
from module /stuff/libirsched-dbg.so(), but a runtime definition
of the symbol was not found.

rtld: 0712-001 Symbol
_STL::vector<CXpSchedule*,_STL::allocator<CXpSchedule*> >::operator=(const
_STL::vector<CXpSchedule*,_STL::allocator<CXpSchedule*> >&) was referenced
from module /stuff/libirsched-dbg.so(), but a runtime definition
of the symbol was not found.

rtld: 0712-001 Symbol CXpSchedule**
_STL::find<CXpSchedule**,CXpSchedule*>(CXpSchedule**,CXpSchedule**,CXpSchedu
le* const&) was referenced
from module /stuff/libirsched-dbg.so(), but a runtime definition
of the symbol was not found.

rtld: 0712-002 fatal error: exiting.

Yet if I use nm to look at the library in question:

nm -g -t x /stuff/libirsched-dbg.so | grep "::find"
.CXpSchedule**
_STL::find<CXpSchedule**,CXpSchedule*>(CXpSchedule**,CXpSchedule**,CXpSchedu
le* const&) T 0x0001f358
.CXpScheduleClient*
_STL::find<CXpScheduleClient*,CXpScheduleClient>(CXpScheduleClient*,CXpSched
uleClient*,const CXpScheduleClient&) T 0x00014b90
CXpSchedule**
_STL::find<CXpSchedule**,CXpSchedule*>(CXpSchedule**,CXpSchedule**,CXpSchedu
le* const&) U -
CXpScheduleClient*
_STL::find<CXpScheduleClient*,CXpScheduleClient>(CXpScheduleClient*,CXpSched
uleClient*,const CXpScheduleClient&) U

From that it appears that the required functions are there, just prefixed
with ".". I've never really understood this stuff in AIX, can someone clear
it up for me?

Thanks,
Shaun


Paul Pluzhnikov

unread,
Nov 28, 2003, 12:01:26 PM11/28/03
to
"Shaun Clowes" <del...@no.spam.for.me.progsoc.org> writes:

> We're having weird problems trying to get an application that uses STLport
> to run. The application terminates with the following errors:

...


> Yet if I use nm to look at the library in question:

Don't use "nm" on AIX -- it doeesn't tell the whole story.
Use "dump -Tv /stuff/libirsched-dbg.so" instead.

> I've never really understood this stuff in AIX, can someone clear
> it up for me?

To understand AIX shared libraries, start here:
http://www-1.ibm.com/servers/esdd/pdfs/aix_ll.pdf

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

0 new messages