Project

General

Profile

Actions

Support Request #4197

closed

Plugin Description Generator could not load plugin which depends on shared library

Added by hidden over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
AEV
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Ubuntu 16.04 64bit
Topic:
ADTF::PluginDescription
FAQ Links:

Description

Supportanfrage

I have a problem using ADTF 3.3.3 on Linux when using shared libraries.

I have a target X that is compiled in the runtime as well as the ADTF plugin. The ADTF plugin uses the shared library X and everything compiles fine until the plugindescription is generated. It seems that the plugindescription generator is not looking in the very same directory the .adtfplugin file is located because I get the following error message:

2018-09-19 15:42:02 [ERROR]: Could not register plugin in runtime Result code '-27 '(ERR_OPEN_FAILED) - Could not load plugin "/.../_install/_/bin/TF_CNN_ForwardPass.adtfplugin",libX.so: cannot open shared object file: No such file or directory [File: /mnt/data/jenkins/ws/A3_bld/PLATFORM/U1604_x64_gcc54/source/src/libraries/ucom3/src/runtime.cpp] [Line: 1782] [Func: LoadPluginImpl] [main.cpp(229)]
2018-09-19 15:42:02 [ERROR]: Result code '-27 '(ERR_OPEN_FAILED) - Could not load plugin "/.../_install/_/bin/....adtfplugin",libX.so: cannot open shared object file: No such file or directory [File: /mnt/data/jenkins/ws/A3_bld/PLATFORM/U1604_x64_gcc54/source/src/libraries/ucom3/src/runtime.cpp] [Line: 1782] [Func: LoadPluginImpl] [main.cpp(693)]

Lösung

If your plugin depends on other libraries, you have to define them for the Plugin Description Generator by using RAW_ARG.
Otherwise the runtime could not load the plugin, neither in for generating plugindescription nor using in adtf launcher.

Actions

Also available in: Atom PDF