I am currently releasing some visualization tools leveraging snap packages where they can be loaded dynamically using class_loader. In order for this to work correctly because the libraries dependencies are inside the snap packages folder and not in the LD_LIBRARY_PATH it fails to load. Now if I manually add the snap package path to the LD_LIBRARY_PATH it loads fine, but not a great solution because if globally added this could cause issues with other libraries using the snap packages resources. Does anyone have any ideas?
I am currently releasing some visualization tools leveraging snap packages where they can be loaded dynamically using class_loader. In order for this to work correctly because the libraries dependencies are inside the snap packages folder and not in the LD_LIBRARY_PATH it fails to load. Now if I manually add the snap package path to the LD_LIBRARY_PATH it loads fine, but not a great solution because if globally added this could cause issues with other libraries using the snap packages resources. Does anyone have any ideas?