PengZheng opened a new issue, #571: URL: https://github.com/apache/celix/issues/571
Current usage causes loader error when running tests. Suppose I have a project named MiniSysRT that depends on Celix, and it contains a bundle named `MiniSysRT::cli`, which depend on another shared library `MiniSysRT::net_base`. When the framework tries to load the bundle, the following error occurs: ``` "Could not load library: .../libcli.so.1" Case: libnet_base.so.1: No such file or directory ``` To fix this, I add the following workaround: ``` if (ENABLE_TESTING) celix_bundle_private_libs(cli MiniSysRT::net_base) ``` This way dynamic loader does find `libnet_base.so.1` using the install RPATH `$ORIGIN`. Is there any specific reason why we need it at the first place? It seems to me that this usage only brings inconvenience to downstream users and ourselves. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org