If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

UNCONFIRMED
Unassigned

Status

()

Firefox
Build Config
UNCONFIRMED
4 years ago
4 years ago

People

(Reporter: digitalcre8, Unassigned)

Tracking

23 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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.

Updated

4 years ago
Component: Untriaged → Build Config
(Reporter)

Comment 1

4 years ago
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.
You need to log in before you can comment on or make changes to this bug.