Library not loaded: @rpath/Chromium Framework.framework/Chromium Framework

24 views
Skip to first unread message

Hover CHEN

unread,
Sep 2, 2025, 11:18:30 AM (4 days ago) Sep 2
to Chromium-dev
Hi all,
I build Chromium 131(git commit:  794c18335b016a2e6457a69289df574586941b08branch-heads: 6778) on macOS 15.5(mac sdk version: 15.0 ), The build was successful, but there was a problem running

This is my gn args :
# Set build arguments here. See `gn help buildargs`.
is_debug = true
target_cpu = "arm64"
is_component_build = true
clang_use_chrome_plugins = false
use_system_xcode = true
This is the error details:
$ out/debug/Chromium.app/Contents/MacOS/Chromium
dyld[33111]: Library not loaded: @rpath/Chromium Framework.framework/Chromium Framework
Referenced from: <4C4C4426-5555-3144-A1DC-D777071541BE> /Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/Chromium
Reason: tried: '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Chromium Framework' (duplicate linked dylib '@rpath/libchrome_dll.dylib'), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/./Chromium Framework.framework/Chromium Framework' (no such file), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/../../../Chromium Framework.framework/Chromium Framework' (duplicate linked dylib '@rpath/libchrome_dll.dylib'), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Chromium Framework' (duplicate linked dylib '@rpath/libchrome_dll.dylib'), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/./Chromium Framework.framework/Chromium Framework' (no such file), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/../../../Chromium Framework.framework/Chromium Framework' (duplicate linked dylib '@rpath/libchrome_dll.dylib')
[1] 33111 abort out/debug/Chromium.app/Contents/MacOS/Chromium

I tried to modify is_component_build = false in args, which can solve this problem, but it will affect my debugging work. Are there any other solutions?

Mark Mentovai

unread,
Sep 4, 2025, 5:00:37 PM (2 days ago) Sep 4
to hoverc...@gmail.com, Chromium-dev
Hover CHEN wrote:
Hi all,
I build Chromium 131(git commit:  794c18335b016a2e6457a69289df574586941b08branch-heads: 6778) on macOS 15.5(mac sdk version: 15.0 ), The build was successful, but there was a problem running

You’re using an old, outdated, and unsupported version of Chromium. 131.0.6778 branched on 2024-10-14, released to stable on 2024-11-12, and was superseded on stable with the release of 132.0.6834 on 2025-01-14.

This is my gn args :
# Set build arguments here. See `gn help buildargs`.
is_debug = true
target_cpu = "arm64"
is_component_build = true
clang_use_chrome_plugins = false
use_system_xcode = true
This is the error details:
$ out/debug/Chromium.app/Contents/MacOS/Chromium
dyld[33111]: Library not loaded: @rpath/Chromium Framework.framework/Chromium Framework
Referenced from: <4C4C4426-5555-3144-A1DC-D777071541BE> /Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/Chromium
Reason: tried: '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Chromium Framework' (duplicate linked dylib '@rpath/libchrome_dll.dylib'), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/./Chromium Framework.framework/Chromium Framework' (no such file), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/../../../Chromium Framework.framework/Chromium Framework' (duplicate linked dylib '@rpath/libchrome_dll.dylib'), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Chromium Framework' (duplicate linked dylib '@rpath/libchrome_dll.dylib'), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/./Chromium Framework.framework/Chromium Framework' (no such file), '/Volumes/ChromiumDrive/chromium/base/src/out/debug/Chromium.app/Contents/MacOS/../../../Chromium Framework.framework/Chromium Framework' (duplicate linked dylib '@rpath/libchrome_dll.dylib')
[1] 33111 abort out/debug/Chromium.app/Contents/MacOS/Chromium

Your version of Chrome doesn’t have the fix for https://crbug.com/404905688llvm lld-macho e385ec90e2cb (https://github.com/llvm/llvm-project/pull/132275, 2025-03-21) in its lld linker. That fix was rolled into Chrome in b87f6bba4ad3 (https://chromium-review.googlesource.com/c/6425307, 2025-04-03), first appearing in Chrome 137.0.7107 (canary release on 2025-04-03).

I tried to modify is_component_build = false in args, which can solve this problem, but it will affect my debugging work. Are there any other solutions?

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/43036b3c-e7d1-498c-a5f0-dd42c647ad46n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages