Skip to content

Conversation

irexyc
Copy link
Collaborator

@irexyc irexyc commented Feb 17, 2023

Motivation

Move inference engine library dependencies from mmdeploy.so to net module

@irexyc irexyc requested a review from lzhangzz February 17, 2023 07:17
@lzhangzz
Copy link
Collaborator

got link error on Linux

/usr/bin/ld: ../../lib/libmmdeploy_net_module.a(net_loader.cpp.o): undefined reference to symbol 'dlopen@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

net_module need to link dl

@lvhan028 lvhan028 merged commit 29b29ee into open-mmlab:dev-1.x Feb 28, 2023
irexyc added a commit to irexyc/mmdeploy that referenced this pull request Mar 1, 2023
…loy.so (open-mmlab#1776)

* dynamic load net module

* export xxx_net

* add runpath

* link dl

* remove -ldl for macos

* fix rpath

* module -> shared

* set MMDEPLOY_DYNAMIC_BACKEND OFF when MMDEPLOY_BUILD_SDK_MONOLITHIC is OFF
lvhan028 pushed a commit that referenced this pull request Mar 1, 2023
…loy.so (#1776)

* dynamic load net module

* export xxx_net

* add runpath

* link dl

* remove -ldl for macos

* fix rpath

* module -> shared

* set MMDEPLOY_DYNAMIC_BACKEND OFF when MMDEPLOY_BUILD_SDK_MONOLITHIC is OFF
lzhangzz pushed a commit that referenced this pull request Mar 3, 2023
…loy.so (#1776) (#1822)

* dynamic load net module

* export xxx_net

* add runpath

* link dl

* remove -ldl for macos

* fix rpath

* module -> shared

* set MMDEPLOY_DYNAMIC_BACKEND OFF when MMDEPLOY_BUILD_SDK_MONOLITHIC is OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants