Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created January 17, 2017 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oberstet/d260ee15c81954bea8298b7400d04870 to your computer and use it in GitHub Desktop.
Save oberstet/d260ee15c81954bea8298b7400d04870 to your computer and use it in GitHub Desktop.
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ pypy MyClass.py
Traceback (most recent call last):
File "MyClass.py", line 2, in <module>
cppyy.load_reflection_info("libMyClassDict.so")
RuntimeError: /home/oberstet/scm/oberstet/scratchbox/cpp/capnproto/test1/libMyClassDict.so: undefined symbol: _ZN4ROOT17TGenericClassInfoD1Ev
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ ldd libMyClassDict.so
linux-vdso.so.1 => (0x00007ffe03ad3000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa5cc1d0000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa5cbfb9000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa5cbbf0000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa5cb8e7000)
/lib64/ld-linux-x86-64.so.2 (0x000055a543136000)
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$ nm libMyClassDict.so | grep " U "
U __cxa_atexit@@GLIBC_2.2.5
U __cxa_guard_abort@@CXXABI_1.3
U __cxa_guard_acquire@@CXXABI_1.3
U __cxa_guard_release@@CXXABI_1.3
U __cxa_throw_bad_array_new_length@@CXXABI_1.3.8
U __gxx_personality_v0@@CXXABI_1.3
U __stack_chk_fail@@GLIBC_2.4
U _Unwind_Resume@@GCC_3.0
U _ZdaPv@@GLIBCXX_3.4
U _ZdlPv@@GLIBCXX_3.4
U _ZN13TVersionCheckC1Ei
U _ZN4ROOT17TGenericClassInfo11SetNewArrayEPFPvlS1_E
U _ZN4ROOT17TGenericClassInfo13SetDestructorEPFvPvE
U _ZN4ROOT17TGenericClassInfo14SetDeleteArrayEPFvPvE
U _ZN4ROOT17TGenericClassInfo6SetNewEPFPvS1_E
U _ZN4ROOT17TGenericClassInfo8GetClassEv
U _ZN4ROOT17TGenericClassInfo9SetDeleteEPFvPvE
U _ZN4ROOT17TGenericClassInfoC1EPKcS2_iRKSt9type_infoPKNS_8Internal13TInitBehaviorEPFP6TClassvEP16TVirtualIsAProxyii
U _ZN4ROOT17TGenericClassInfoD1Ev
U _ZN4ROOT8Internal14DefineBehaviorEPvS1_
U _ZN5TROOT14RegisterModuleEPKcPS1_S2_S1_S1_PFvvERKSt6vectorISt4pairISsiESaIS7_EES2_
U _ZN9TIsAProxyC1ERKSt9type_info
U _Znam@@GLIBCXX_3.4
U _ZNSs4_Rep10_M_destroyERKSaIcE@@GLIBCXX_3.4
U _ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4
U _Znwm@@GLIBCXX_3.4
U _ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment