CopyQ v2.7.1 doesn't launch on OS X 10.11.5: LSOpenURLsWithRole() failed with error

Created on 12 Jul 2016  路  9Comments  路  Source: hluk/CopyQ

When I try to start CopyQ v2.7.1 (build from https://github.com/hluk/CopyQ/releases) on OS X 10.11.5 nothing seems to happen. Starting CopyQ from a terminal says:

$ open /Applications/CopyQ.app
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/CopyQ.app.

On the same machine, CopyQ v2.7.0 works.

macOS

Most helpful comment

Also on OS X 10.11.5:

$ /Applications/CopyQ.app/Contents/MacOS/copyq
dyld: Library not loaded: /usr/local/Cellar/qt5/5.6.1/lib/QtWidgets.framework/Versions/5/QtWidgets
  Referenced from: /Applications/CopyQ.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg
  Reason: image not found

Seems similar to #386?

All 9 comments

Are you able to compile CopyQ yourself? On Linux you just need to do

cmake .
make

I don't know on a mac. If you can compile yourself, then it is easy to do a bisect between 2.7.0 and 2.7.1 and thus figure out the exact commit that caused the problem.

Also on OS X 10.11.5:

$ /Applications/CopyQ.app/Contents/MacOS/copyq
dyld: Library not loaded: /usr/local/Cellar/qt5/5.6.1/lib/QtWidgets.framework/Versions/5/QtWidgets
  Referenced from: /Applications/CopyQ.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg
  Reason: image not found

Seems similar to #386?

v2.7.0 seems to work for me.

I have the same problem.

@alexwforsythe Yes, it is similar to #386 --- a bad build.
After I fixed all the paths of dylibs, I get this error still:

$ /Applications/CopyQ.app/Contents/MacOS/copyq
This application failed to start because it could not find or load the Qt platform plugin "cocoa"
in "".

Available platform plugins are: cocoa.

Reinstalling the application may fix this problem.
zsh: abort      /Applications/CopyQ.app/Contents/MacOS/copyq

so,,, just have to go back to version 2.7.0 for now.

Does something need to be reported to homebrew then like for #386?

Here is new package for 2.8.1. If it doesn't work please refer to #590.

v2.8.1 works for me. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidawad picture davidawad  路  9Comments

eera5607 picture eera5607  路  7Comments

orschiro picture orschiro  路  7Comments

bsucker98 picture bsucker98  路  4Comments

reagle picture reagle  路  4Comments