Skip to content

OSX: Fails to load when not in "/Application" #6580

Closed as not planned
Closed as not planned
@TurtleWilly

Description

Short description

RawTherapee.app fails to load when it is not installed directly in the system directory "/Applications", e.g. if user has it installed in "~/Applications" or on a separate partition.

On initial installation and the subsequent launch OS X's CoreServiceUIAgent reports File /Volumes/Storage/Applications/RawTherapee.app/Contents/MacOS/bin/rawtherapee-bin failed on rPathCmd /Applications/RawTherapee.app/Contents/Frameworks/libomp.dylib and Fails dylib check, afterwards RawTherapee.app via com.apple.xpc.launchd: Service exited with abnormal code: 126.

Moving the application bundle to /Applications fixes things. But moving it out again and it will continue to Service exited with abnormal code: 126, albeit the inital report by CoreServiceUIAgent no longer seems to happen.

Setting up an ugly softlink fixes the issue too:

$ cd "/Applications"
$ ln -s /Volumes/Storage/Applications/RawTherapee.app RawTherapee.app

Steps to reproduce

  • Install the application in a path that is NOT "/Applications".
  • Launch it.

Expected behavior
Installing the application in any user controlled path should not block it from launching, e.g. the user may not have write permissions in the system "/Applications" directory.

Additional information

  • Version of RawTherapee: 5.8.0
  • Version of your operating system: latest OS X 10.10.5 (14F2511)

Other useful information:
n/a

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions