Plugin Shared Library Not Found

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.9.1.10844
other

Host Machine Version
native Ubuntu 18.04
other

Hi, i have implemented plugin for Tile layer and successfully build the .so file.
I also have successfully build and run the network in RTX 2080.

But now i have problem when i try to run it on AGX Pegasus. It says
DW_FILE_NOT_FOUND: DNNPlugin: Shared library not found: cannot open shared object file: no such file
I attached the error message below. (You see i ls the pluginPath and its exist)

And my implementation for load the plugin is like this

    dwDNNPluginConfiguration pluginConf{};
    pluginConf.numCustomLayers = 1;

    std::string pluginPath = argsLidarPlugin;
    std::cout << "Plugin path: " << pluginPath << std::endl;
    dwDNNCustomLayer customLayer{};
    customLayer.pluginLibraryPath = pluginPath.c_str();

    pluginConf.customLayers = &customLayer;

    CHECK_DW_ERROR(dwDNN_initializeTensorRTFromFile(&m_dnn_pfe, pfeOnnxFilePath.c_str(), &pluginConf, DW_PROCESSOR_TYPE_GPU, DWHandles.m_context));

For your information, i compile the project using gpu RTX2080 and then copy the compiled program and plugin.so to AGX.

What might cause the issue? Thanks i need help ASAP

Dear @user142014,
Could you share file <sofile> and ls -la <sofile>

@SivaRamaKrishnaNV

Dear @user142014,
I see the shared library is for x86 architecture and not aarch64. Could you cross compile to get shared library for aarch64?

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.