[gdal-dev] GDAL / Java bindings : undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE in libgdal.so.1
Hendy Sumanto
hsumanto at vpac.org
Sun Sep 23 16:39:47 PDT 2012
Tried including the /home/579/hxs579/apps/gdal-trunk/lib into my LD_LIBRARY_PATH but still encountering the same issue.
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/579/hxs579/apps/gdal-trunk/lib:/home/579/hxs579/local/gdal-trunk/gdal/swig/java
$ java -classpath '/home/579/hxs579/local/gdal-trunk/gdal/swig/java/gdal.jar':/home/579/hxs579/local/gdal-trunk/gdal/swig/java/apps gdalinfo
Native library load failed.
java.lang.UnsatisfiedLinkError: /home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so: /home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.gdal.gdal.gdalJNI.AllRegister()V
at org.gdal.gdal.gdalJNI.AllRegister(Native Method)
at org.gdal.gdal.gdal.AllRegister(gdal.java:479)
at gdalinfo.main(gdalinfo.java:87)
When printing shared library dependencies, I managed to reproduce the same issue.
Don't have the same issue on the GDAL Java bindings on Ubuntu machine.
$ ldd -d -r /home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so
linux-vdso.so.1 => (0x00007fff527ff000)
libgdal.so.1 => /home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1 (0x00007f05d1654000)
libnetcdf.so.6 => /usr/lib64/libnetcdf.so.6 (0x00007f05d1303000)
libhdf5.so.6 => /usr/lib64/libhdf5.so.6 (0x00007f05d0d1b000)
libpq.so.5 => /usr/lib64/libpq.so.5 (0x00007f05d0af3000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f05d08d6000)
libm.so.6 => /lib64/libm.so.6 (0x00007f05d0652000)
librt.so.1 => /lib64/librt.so.1 (0x00007f05d044a000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f05d0245000)
libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007f05cfff2000)
libc.so.6 => /lib64/libc.so.6 (0x00007f05cfc62000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f05cfa4b000)
libhdf5_hl.so.6 => /usr/lib64/libhdf5_hl.so.6 (0x00007f05cf819000)
libz.so.1 => /lib64/libz.so.1 (0x00007f05cf603000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f05cf3a7000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f05cf00d000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f05cedcb000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f05ceb93000)
libldap_r-2.4.so.2 => /lib64/libldap_r-2.4.so.2 (0x00007f05ce940000)
/lib64/ld-linux-x86-64.so.2 (0x0000003ee4200000)
libidn.so.11 => /lib64/libidn.so.11 (0x00007f05ce70e000)
libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f05ce4c2000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f05ce1e3000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f05cdfb7000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f05cddb2000)
libssl3.so => /usr/lib64/libssl3.so (0x00007f05cdb77000)
libsmime3.so => /usr/lib64/libsmime3.so (0x00007f05cd94b000)
libnss3.so => /usr/lib64/libnss3.so (0x00007f05cd60f000)
libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007f05cd3e9000)
libplds4.so => /lib64/libplds4.so (0x00007f05cd1e5000)
libplc4.so => /lib64/libplc4.so (0x00007f05ccfdf000)
libnspr4.so => /lib64/libnspr4.so (0x00007f05ccda2000)
libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00007f05ccb7b000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f05cc96f000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f05cc76c000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f05cc552000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007f05cc2ef000)
liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f05cc0e0000)
libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f05cbec6000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f05cbca6000)
undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_pure_virtual (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTISt9exception (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVSt15basic_streambufIcSt11char_traitsIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVSt9exception (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVSt18basic_stringstreamIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTIPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt4cerr (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt8ios_base4InitD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVSt9basic_iosIcSt11char_traitsIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTTSt18basic_stringstreamIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __gxx_personality_v0 (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs9push_backEc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs12find_last_ofEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6assignERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSi10_M_extractIdEERSiRT_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt6localeD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_rethrow (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs7compareEPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsC1EPKcmRKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZdaPv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs7compareERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs17find_first_not_ofEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt8ios_base4InitC1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6assignEPKcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _Znwm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt17__throw_bad_allocv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs4findEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt20__throw_out_of_rangePKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_throw (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6appendEPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZdlPv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6resizeEm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs4_Rep10_M_destroyERKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsD2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt9basic_iosIcSt11char_traitsIcEED2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs17find_first_not_ofEcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt9terminatev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt9exceptionD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_free_exception (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6appendERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs14_M_replace_auxEmmmc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_get_exception_ptr (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs16find_last_not_ofEcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsC2ERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_guard_abort (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSo9_M_insertIdEERSoT_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt8ios_baseC2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs12_M_leak_hardEv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_guard_acquire (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs7replaceEmmPKcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6appendEmc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_begin_catch (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6resizeEmc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6appendEPKcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs9_M_mutateEmmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs7_M_leakEv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_end_catch (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs5rfindEcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_guard_release (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs6substrEmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs7replaceEmmPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt15_List_node_base4hookEPS_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs7reserveEm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __cxa_allocate_exception (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsC2EPKcRKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt8ios_baseD2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs4_Rep9_S_createEmmRKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSolsEi (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _Znam (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: __dynamic_cast (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs13find_first_ofEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt20__throw_length_errorPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7_M_syncEPcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs2atEm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs4findEcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsC1EPKcRKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZSt19__throw_logic_errorPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs5rfindEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt9exceptionD2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsC1ERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSt6localeC1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSsC1ERKSsmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNSs6assignEPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZNKSs16find_last_not_ofEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1)
undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE (/home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so)
undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE (/home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so)
undefined symbol: _ZNSt8ios_base4InitD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so)
undefined symbol: __gxx_personality_v0 (/home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so)
undefined symbol: _ZNSt8ios_base4InitC1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so)
undefined symbol: _Znwm (/home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so)
undefined symbol: _ZdlPv (/home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so)
undefined symbol: _Znam (/home/579/hxs579/apps/gdal-trunk/lib/libgdaljni.so)
Printing libgdal.so dependencies, also encountering the same issue below:
$ ldd -d -r /home/579/hxs579/apps/gdal-trunk/lib/libgdal.so
linux-vdso.so.1 => (0x00007ffff39ff000)
libnetcdf.so.6 => /usr/lib64/libnetcdf.so.6 (0x00007fb65639b000)
libhdf5.so.6 => /usr/lib64/libhdf5.so.6 (0x00007fb655db2000)
libpq.so.5 => /usr/lib64/libpq.so.5 (0x00007fb655b8a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb65596e000)
libm.so.6 => /lib64/libm.so.6 (0x00007fb6556e9000)
librt.so.1 => /lib64/librt.so.1 (0x00007fb6554e1000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fb6552dd000)
libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007fb655089000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fb654e73000)
libc.so.6 => /lib64/libc.so.6 (0x00007fb654ae3000)
libhdf5_hl.so.6 => /usr/lib64/libhdf5_hl.so.6 (0x00007fb6548b0000)
libz.so.1 => /lib64/libz.so.1 (0x00007fb65469a000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fb65443f000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fb6540a4000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fb653e62000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fb653c2b000)
libldap_r-2.4.so.2 => /lib64/libldap_r-2.4.so.2 (0x00007fb6539d7000)
/lib64/ld-linux-x86-64.so.2 (0x0000003ee4200000)
libidn.so.11 => /lib64/libidn.so.11 (0x00007fb6537a5000)
libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007fb65355a000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fb65327a000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fb65304e000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fb652e4a000)
libssl3.so => /usr/lib64/libssl3.so (0x00007fb652c0e000)
libsmime3.so => /usr/lib64/libsmime3.so (0x00007fb6529e2000)
libnss3.so => /usr/lib64/libnss3.so (0x00007fb6526a7000)
libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007fb652480000)
libplds4.so => /lib64/libplds4.so (0x00007fb65227c000)
libplc4.so => /lib64/libplc4.so (0x00007fb652077000)
libnspr4.so => /lib64/libnspr4.so (0x00007fb651e39000)
libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00007fb651c12000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fb651a06000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fb651803000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb6515e9000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007fb651386000)
liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007fb651177000)
libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fb650f5d000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fb650d3d000)
undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_pure_virtual (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTISt9exception (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTVSt15basic_streambufIcSt11char_traitsIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTVSt9exception (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTVSt18basic_stringstreamIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTIPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt4cerr (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt8ios_base4InitD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTVSt9basic_iosIcSt11char_traitsIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTTSt18basic_stringstreamIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __gxx_personality_v0 (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs9push_backEc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs12find_last_ofEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6assignERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSi10_M_extractIdEERSiRT_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt6localeD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_rethrow (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs7compareEPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsC1EPKcmRKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZdaPv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs7compareERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs17find_first_not_ofEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt8ios_base4InitC1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6assignEPKcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _Znwm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt17__throw_bad_allocv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs4findEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt20__throw_out_of_rangePKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_throw (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6appendEPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZdlPv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6resizeEm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs4_Rep10_M_destroyERKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsD2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt9basic_iosIcSt11char_traitsIcEED2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs17find_first_not_ofEcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt9terminatev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt9exceptionD1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_free_exception (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6appendERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs14_M_replace_auxEmmmc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_get_exception_ptr (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs16find_last_not_ofEcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsC2ERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_guard_abort (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSo9_M_insertIdEERSoT_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt8ios_baseC2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs12_M_leak_hardEv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_guard_acquire (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs7replaceEmmPKcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6appendEmc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_begin_catch (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6resizeEmc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6appendEPKcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs9_M_mutateEmmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs7_M_leakEv (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_end_catch (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs5rfindEcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_guard_release (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs6substrEmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs7replaceEmmPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt15_List_node_base4hookEPS_ (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs7reserveEm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __cxa_allocate_exception (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsC2EPKcRKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt8ios_baseD2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs4_Rep9_S_createEmmRKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSolsEi (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _Znam (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: __dynamic_cast (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs13find_first_ofEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt20__throw_length_errorPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7_M_syncEPcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs2atEm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs4findEcm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsC1EPKcRKSaIcE (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZSt19__throw_logic_errorPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs5rfindEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt9exceptionD2Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsC1ERKSs (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSt6localeC1Ev (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSsC1ERKSsmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNSs6assignEPKc (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
undefined symbol: _ZNKSs16find_last_not_ofEPKcmm (/home/579/hxs579/apps/gdal-trunk/lib/libgdal.so)
----- Original Message -----
> From: "Even Rouault" <even.rouault at mines-paris.org>
> To: "Hendy Sumanto" <hsumanto at vpac.org>
> Cc: "gdal-dev" <gdal-dev at lists.osgeo.org>
> Sent: Friday, 21 September, 2012 9:23:44 PM
> Subject: Re: [gdal-dev] GDAL / Java bindings : undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE in
> libgdal.so.1
> Seeing
>
> > java.lang.UnsatisfiedLinkError:
> > /home/579/hxs579/local/gdal-trunk/gdal/swig/java/libgdaljni.so:
> > /home/579/hxs579/apps/gdal-trunk/lib/libgdal.so.1: undefined symbol:
>
> You need to add /home/579/hxs579/apps/gdal-trunk/lib in your
> LD_LIBRARY_PATH too
> (in addition to the existing values in it).
>
> Reading
> http://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix , I
> see it wasn't mentionned.
More information about the gdal-dev
mailing list