Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues using --exclude-library? #225

Open
kohlerkane opened this issue Oct 12, 2022 · 0 comments
Open

Issues using --exclude-library? #225

kohlerkane opened this issue Oct 12, 2022 · 0 comments

Comments

@kohlerkane
Copy link

kohlerkane commented Oct 12, 2022

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:

  1. Explicitly copying in that .so to a preliminary AppDir structure in the expected location
  2. Using linuxdeploy to set up the rest of the AppDir structure (which would complete successfully as it could find the libcuda.so)
  3. Removing that .so from the completed AppDir (necessary as I mentioned above)
  4. 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!

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

No branches or pull requests

1 participant