Hi!
I'm trying to build an application that has intrinsic linkage against a libcuda.so, but for the purposes of deployment I need for the linuxdeploy packaging tool to not add or try to find this as it searches through the dependency chain. I previously had a hack to get around this by:
- Explicitly copying in that .so to a preliminary AppDir structure in the expected location
- Using
linuxdeploy to set up the rest of the AppDir structure (which would complete successfully as it could find the libcuda.so)
- Removing that .so from the completed AppDir (necessary as I mentioned above)
- Using
appimagetool to complete the final AppImage build, as it apparently does not search down the dependency tree as linuxdeploy does
I recently noticed that --exclude-library was added to the available command line options, and so I figured this may be what I needed to get around that hack and use just linuxdeploy, but I am still seeing this error during the build:
ERROR: Could not find dependency: libcuda.so.1
After adding:
--exclude-library=libcuda.so.1
to my list of linuxdeploy options.
Am I misusing this flag somehow, or is it not doing what I think it is doing?
Let me know if I can provide any additional details -- thank you!
Hi!
I'm trying to build an application that has intrinsic linkage against a
libcuda.so, but for the purposes of deployment I need for thelinuxdeploypackaging tool to not add or try to find this as it searches through the dependency chain. I previously had a hack to get around this by:linuxdeployto set up the rest of the AppDir structure (which would complete successfully as it could find thelibcuda.so)appimagetoolto complete the final AppImage build, as it apparently does not search down the dependency tree aslinuxdeploydoesI recently noticed that
--exclude-librarywas added to the available command line options, and so I figured this may be what I needed to get around that hack and use justlinuxdeploy, but I am still seeing this error during the build:After adding:
to my list of
linuxdeployoptions.Am I misusing this flag somehow, or is it not doing what I think it is doing?
Let me know if I can provide any additional details -- thank you!