tira-misu opened a new issue, #479:
URL: https://github.com/apache/celix/issues/479

   All export and private libraries are unloaded immediately after loading. 
This will lead to startup errors of bundle libraries if these libraries depend 
on export or private libraries.
   
   Why nobody notice this till now? 
   
   - debug: all shared libraries are loaded with ```RTLD_NODELETE```
   - release: most shared libraries are not build with ```-fno-gnu-unique``` - 
so these libraries will not be unloaded by ld
   
   This is caused by following code in framework.c
   ```
           else if(handle!=NULL){
               celix_libloader_close(handle);
           }
   ```
   
   I will create a PR to solve this issue.


-- 
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

Reply via email to