Skip to content

[stable-33.0] fix(macOS): macdeployqt now finds libvpx#9505

Merged
i2h3 merged 1 commit intostable-33.0from
backport/9497/stable-33.0
Feb 24, 2026
Merged

[stable-33.0] fix(macOS): macdeployqt now finds libvpx#9505
i2h3 merged 1 commit intostable-33.0from
backport/9497/stable-33.0

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Feb 24, 2026

Backport of PR #9497

@backportbot backportbot bot requested a review from i2h3 February 24, 2026 11:29
@backportbot backportbot bot added bug os: 🍎 macOS Apple macOS, formerly also known as OS X 3. to review labels Feb 24, 2026
@backportbot backportbot bot added this to the 33.0.0 milestone Feb 24, 2026
@backportbot backportbot bot added bug os: 🍎 macOS Apple macOS, formerly also known as OS X 3. to review labels Feb 24, 2026
Added two lines after find_program(MACDEPLOYQT_EXECUTABLE ...) to compute the lib directory adjacent to the macdeployqt binary (i.e., ../lib relative to its bin/ directory), then passed it as -libpath to the macdeployqt invocation.

Root cause of the libvpx error: The craft-built libvpx.11.dylib has a bare install name (libvpx.11.dylib, no @rpath/ prefix). When macdeployqt encounters it as a dependency of ffmpeg/libavcodec and tries to locate the file, it falls back to searching /usr/lib/ — where it doesn't exist. The -libpath option adds the craft lib/ directory to macdeployqt's search path, so it finds the library at .mac-crafter/macos-clang-arm64/lib/libvpx.11.dylib.

Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-9505.zip

Digest: sha256:85c4d8f092c43a03ee32c1cd234519950b6a27d40e83de09355e913793530253

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@i2h3 i2h3 merged commit 8210032 into stable-33.0 Feb 24, 2026
17 checks passed
@i2h3 i2h3 deleted the backport/9497/stable-33.0 branch February 24, 2026 11:54
@sonarqubecloud
Copy link

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

Labels

3. to review bug os: 🍎 macOS Apple macOS, formerly also known as OS X

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant