Sitelet https://github.com/linuxdeploy/linuxdeploy/issues/225
Skip to content

Issues using --exclude-library? #225

Description

@kohlerkane

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions