Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Issues using --exclude-library? #225

Copy link
Copy link

Description

@kohlerkane
Issue body actions

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!

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.