kfcox
asked on
'unresolvable symbol' in shared lib on IRIX6.2: __record_needed_destruction
When attempting to run a binary which was dynamically linked to a shared library (.so file), rld gives me the following error:
"rld: Fatal Error: attempted access to unresolvable symbol in libava2.so: __record_needed_destructio n"
where libava2.so is a (quite simple) library that I created. How do I fix this?
Hint: it may have something to do w/ old 32-bit vs. new 32-bit and LD_LIBRARY_PATH vs. LD_LIBRARYN32_PATH environment variables.
"rld: Fatal Error: attempted access to unresolvable symbol in libava2.so: __record_needed_destructio
where libava2.so is a (quite simple) library that I created. How do I fix this?
Hint: it may have something to do w/ old 32-bit vs. new 32-bit and LD_LIBRARY_PATH vs. LD_LIBRARYN32_PATH environment variables.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
this symbol is in
/usr/lib/libebtctudl.so
Possible reasons:
1. not specified in library list for the linker
2. lib cannot be accessed/found at runtime (see your
LD_LIBRARY*_PATH, see also linker options:
-force_load, -delay_load, -default_delay_load )
To find out which shared libs will be used at runtime, try:
setenv _RLD_PATH /usr/lib/rld.debug
setenv _RLD_ARGS "-v -log any_file"
your_executable
Good Luck, Achim
/usr/lib/libebtctudl.so
Possible reasons:
1. not specified in library list for the linker
2. lib cannot be accessed/found at runtime (see your
LD_LIBRARY*_PATH, see also linker options:
-force_load, -delay_load, -default_delay_load )
To find out which shared libs will be used at runtime, try:
setenv _RLD_PATH /usr/lib/rld.debug
setenv _RLD_ARGS "-v -log any_file"
your_executable
Good Luck, Achim
What is the /usr/lib/libebtctudl.so library and what package is it a part of? It's not on my system, and I can't find any mention of it anywhere!!
ASKER
/usr/lib/libebtctudl.so is new in IRIX 6.x, contact SGI to ask
for its purpose. Anyway, it should be founf on your distribution
CDs (see Find/Search functionality in Toolchest->SoftwareManager )
To solve your problem try to find out which source or library
references routines in /usr/lib/libebtctudl.so .
Use the -v and/or -m option of the the linker (take care if you
use cc or CC for linking).
for its purpose. Anyway, it should be founf on your distribution
CDs (see Find/Search functionality in Toolchest->SoftwareManager
To solve your problem try to find out which source or library
references routines in /usr/lib/libebtctudl.so .
Use the -v and/or -m option of the the linker (take care if you
use cc or CC for linking).
flags looks like this:
-export-dynamic -shared -fPIC
kind regards,
Jos aka jos@and.nl