Closed Bug 903764 Opened 12 years ago Closed 7 years ago

error "Library not loaded: @executable_path/libmozglue.dylib" on Mac builds

Categories

(Firefox Build System :: General, defect)

23 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: digitalcre8, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1588.0 Safari/537.36 Steps to reproduce: This is a continuation of bug 738790. I'm building Firefox on Mac (not XUL Runner). I've tried with 10.6, 10.7 and 10.8 SDKs, all the same problem. I'm on Xcode 4.6.3, OSX 10.8.4. Using the latest moz tools with Homebrew. Actual results: The build runs fine on my dev machine, but it generates the the "Library not loaded: @executable_path/libmozglue.dylib" on other machines when run. Expected results: Build should run as normal without error. Curious, can you tell me the exact software tool versions that Mozilla uses to build the Mac version of Firefox? Clearly you are able to build on Mac there, so this would help isolate the problem.
Component: Untriaged → Build Config
I'm following up on this. If you build the code as a "Universal Build" which includes libraries necessary for running on non dev machines, it fixes this issue. https://developer.mozilla.org/en-US/docs/Mac_OS_X_Universal_Binaries Note, this page isn't linked to other relevant pages in MDN, so it's extremely difficult to find.
triaging, old bug, not relevant anymore The universal binaries page is also linked from https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Mac_OS_X_Prerequisites
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.