G++ on AIX error: rtld: 0712-001 runtime definition of the symbol was not found.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am trying to compile my project on 32 bit AIX 5.2L with GCC (version4.0.0)

I m compiling shared libraries as:

g++-o shr.o  -Wl,-bloadmap:map.txt -shared -Wl,-bnoquiet -Wl,-bnoentry
-Wl,-bexpall -Wl,-bE:/Pheft/source/cryptolink/apidll/esmapi.exp jesm.o
jretry.o csa8kesm.o tcpipesm.o asyncesm.o esmapi.o recvq.o varsupt.o
esmlist.o -L/Pheft/source_obj/AIX_00C2BC404C00/lib/   -ldl
-Wl,-bstatic -lsupt_unix_s  -Wl,-bdynamic -lpthread   -Wl,-bstatic
-lcptrlist_s   -ljesmcfg_s  -Wl,-bdynamic -Wl,-brtl -Wl,-berok

and the program as :

g++  -o cryptest tt.o -L/Pheft/source_obj/AIX_00C2BC404C00/lib/
-lesmapi   -Wl,-bstatic -lcptrlist_s   -ljesmcfg_s   -lsupt_unix_s
-Wl,-bdynamic -lpthread   -Wl,-brtl -Wl,-berok

but when I am running the program cryptest:
bash-3.00# ./cryptest
exec(): 0509-036 Cannot load program ./cryptest because of the following errors:
rtld: 0712-001 Symbol _ZTVN10__cxxabiv117__class_type_infoE was referenced
      from module cryptest(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol _ZTVN10__cxxabiv120__si_class_type_infoE was referenced
      from module cryptest(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol _Z12RunCallBackpPcS_j was referenced
      from module cryptest(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol _Z12RunCallBack1Pcij was referenced
      from module cryptest(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol _Z11RunCallBackPcj was referenced
      from module cryptest(), but a runtime definition
      of the symbol was not found.


The dependecny map of cryptest is :
bash-3.00# ldd cryptest
cryptest needs:
         ./libesmapi.a(shr.o)
         /usr/lib/libpthread.a(shr_comm.o)
         /usr/lib/libpthread.a(shr_xpg5.o)
         /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/libstdc++.a(libstdc++.so.6)
         /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/libgcc_s.a(shr.o)
         /usr/lib/libc.a(shr.o)
         /usr/lib/librtl.a(shr.o)
         /usr/lib/libdl.a(shr.o)
         /usr/lib/libpthreads.a(shr_comm.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)

Can anybody help me out.


"The secret of success in life is for a man to be ready for his
opportunity when it comes."
        -- Benjamin Disraeli

Thanks & Regards
Ashish Bhawsar

Software Engineer
SafeNet Infotech Pvt. Ltd.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux