Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6502 Discussions

Invalid linker on libdliaPlugin.so (libdla.so not found)

klein__louis
Beginner
697 Views

Hello,

I'm trying to integrate the inference engine of the CVSDK in a larger app. However, I'm having trouble when building my app, at the linking stage. While further investigating the problem, i ran the unix command :

ldd -r libdliaPlugin.so 

With the following output :

linux-vdso.so.1 =>  (0x00007ffc30455000)
libinference_engine.so => /opt/intel/deeplearning_deploymenttoolkit_2017.1.0.5852/deployment_tools/inference_engine/lib/ubuntu_16.04/intel64/libinference_engine.so (0x00007fead0e64000)
libdla.so => not found
libiomp5.so => /opt/intel/deeplearning_deploymenttoolkit_2017.1.0.5852/deployment_tools/external/mklml_lnx/lib/libiomp5.so (0x00007fead0ac1000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fead08bd000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fead053b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fead0232000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fead001c000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007feacfc52000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007feacfa35000)
/lib64/ld-linux-x86-64.so.2 (0x00007fead1380000)
undefined symbol: _ZN3dla5accel4waitERKSt6vectorIP9_cl_eventSaIS3_EE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accel17reconfigure_accelERNS_5graphERSt6vectorIP9_cl_eventSaIS5_EE	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla4poolE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5graph12add_sequenceEjNS_14execution_modeEjb	(./libdliaPlugin.so)
undefined symbol: _ZNK3dla10accel_arch43get_max_fc_feature_input_output_size_in_ddrEjjj	(./libdliaPlugin.so)
undefined symbol: _ZN3dla10accel_arch21copy_to_fc_output_rawERKNS_8buffer_tERS1_iii	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5graph18bind_device_bufferENS_10accel_arch11buffer_nameERNS_13device_bufferE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla13device_buffer7copy_toEPvmm	(./libdliaPlugin.so)
undefined symbol: grph_err	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla15fully_connectedE	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla6outputE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accel4initEij	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla4reluE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla13device_buffer7copy_toENS_10accel_arch11buffer_nameERNS_5graphE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5graphC1Ej	(./libdliaPlugin.so)
undefined symbol: _ZN3dla8buffer_tD1Ev	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accel14program_deviceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla10accel_arch12accel_config23copy_to_conv_output_rawERNS_5graphERNS_8buffer_tES5_	(./libdliaPlugin.so)
undefined symbol: _ZN3dla10accel_arch14assemble_graphERNS_5graphERNS_5accelENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_SA_	(./libdliaPlugin.so)
undefined symbol: _ZN3dla4normC1Ejfff	(./libdliaPlugin.so)
undefined symbol: _Z14get_accel_archv	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accel12reset_deviceEv	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla11half_type_tE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accel7executeERNS_5graphERSt6vectorIP9_cl_eventSaIS5_EEb	(./libdliaPlugin.so)
undefined symbol: _ZN3dla10accel_arch12accel_config37get_total_filter_bias_buffer_size_ddrERNS_5graphE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla10accel_arch19copy_from_input_rawEiiyRNS_8buffer_tES2_S2_iiiiiiii	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla4normE	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla13single_type_tE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accelD1Ev	(./libdliaPlugin.so)
undefined symbol: _ZN3dla10accel_arch45compute_conv_subgraph_image_input_size_in_ddrEjjjjjjj	(./libdliaPlugin.so)
undefined symbol: _ZN3dla13device_buffer9copy_fromEPvmm	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accel7releaseERKSt6vectorIP9_cl_eventSaIS3_EE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla4poolC1Ejjjjjjjjjjjjbb	(./libdliaPlugin.so)
undefined symbol: _ZNK3dla10accel_arch26get_fc_feature_size_in_ddrEj	(./libdliaPlugin.so)
undefined symbol: _ZN3dla10accel_arch12accel_config13compile_graphERNS_5graphEPNS_8buffer_tES5_S5_S5_PNS_5accelEbbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libdliaPlugin.so)
undefined symbol: _ZNK3dla5graph12output_errorERSo	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accel16accel_throttlingD1Ev	(./libdliaPlugin.so)
undefined symbol: _ZN3dla8buffer_tC1ERKNS_6type_tEmbPv	(./libdliaPlugin.so)
undefined symbol: _ZN3dla8sequence12add_subgraphEj	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla5inputE	(./libdliaPlugin.so)
undefined symbol: _ZNK3dla10accel_arch44get_conv_feature_ddr_size_in_fc_input_layoutEjjj	(./libdliaPlugin.so)
undefined symbol: _ZN3dla11convolutionC1Ejjjjjjjjjjjjjjjbb	(./libdliaPlugin.so)
undefined symbol: _ZTVN3dla6concatE	(./libdliaPlugin.so)
undefined symbol: _ZN3dla5accel20create_device_bufferEmNS_13device_buffer4typeE	(./libdliaPlugin.so)

I did not found any information about what package I might be missing that would include the shared library libdla.so.

Any hint on that ? 

Specification :
deeplearning_deploymenttoolkit_2017.1.0.5852
Ubuntu 16.04 LTS

0 Kudos
1 Reply
Shubha_R_Intel
Employee
697 Views

Hello there louis. You will find libdla.so under deeplearning_deploymenttoolkit_xxx/deployment_tools/inference_engine/lib

There should be a version for different flavors of Linux under lib (centos versions and ubuntu versions). You are using Ubuntu 16.04 LTS so there should be a libdla.so under lib/ubuntu_16.04/intel64.

Are you not finding libdla.so under there ? Can you tell me what is under inference_engine/lib ?

Thanks kindly,

Shubha

0 Kudos
Reply