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




5 years ago
5 years ago


(Reporter: digitalcre8, Unassigned)


23 Branch
Mac OS X

Firefox Tracking Flags

(Not tracked)




5 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.


5 years ago
Component: Untriaged → Build Config

Comment 1

5 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.

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.