question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dlSym cannot locate method 'CreateExtension'

See original GitHub issue

Triton Information What version of Triton are you using? 21.06

Are you using the Triton container or did you build it yourself? build my self

I have now recompiled the openvino back using openvino 2021.2 and need to load a custom operator that has been compiled to so lib, but got an error when loading so:

+---------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Model   | Version | Status                                                                                                                                                           |
+---------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| mylayer | 1       | UNAVAILABLE: Internal: ModelState::Create InferenceEngineException: dlSym cannot locate method 'CreateExtension': /data/custom_op_openvino/build/libt |
|         |         | emplate_extension.so: undefined symbol: CreateExtension                                                                                                          |
+---------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+

how to solve it?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:25 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
zhaohbcommented, Aug 4, 2021
1reaction
zhaohbcommented, Jul 31, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot add cpu extension: libMKLDNNPlugin.so in Python
When I use libcpu_extension_avx2.so, no errors happend, and this function (CreateExtension) is exactly contained in libcpu_extension_avx2.so.
Read more >
Support for openVINO 2020 is missing · Issue #1179 - GitHub
So I can't see any possibility to import yolov3 model at the moment. ... Test failed: dlSym cannot locate method 'CreateExtension': ...
Read more >
Apache MiNiFi Extensions Guide
The createExtension function has 8 possible arguments. ... To find your classes, you must adhere to a dlsym call back that adheres to...
Read more >
Thread: CREATE INDEX CONCURRENTLY does not index ...
Hi hackers! $subj. Steps to reproduce: create extension if not exists amcheck; create table if not exists t1(i int); begin; insert into t1 ......
Read more >
How to load function with dlsym() without reinterpret_cast?
I'm trying to use clang-tidy to enforce the C++ Core Guidelines. While it does have a lot of valid points, there is one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found