Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X owncloudcmd dylib problems #1911

Closed
znz opened this issue Jun 29, 2014 · 2 comments
Closed

OS X owncloudcmd dylib problems #1911

znz opened this issue Jun 29, 2014 · 2 comments
Assignees
Labels
p2-high Escalation, on top of current planning, release blocker

Comments

@znz
Copy link

znz commented Jun 29, 2014

Expected behaviour

%  /Applications/owncloud.app/Contents/MacOS/owncloudcmd
dyld: Library not loaded: /Users/builder/Qt/5.2.1/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork
  Referenced from: /Applications/owncloud.app/Contents/MacOS/owncloudcmd
  Reason: image not found

Actual behaviour

% /Applications/owncloud.app/Contents/MacOS/owncloudcmd
owncloudcmd - command line ownCloud client tool.

Usage: owncloudcmd <sourcedir> <owncloudurl>

A proxy can either be set manually using --httpproxy or it
uses the setting from a configured sync client.

Options:
  --silent               Don't be so verbose
  --confdir = configdir: Read config from there.
  --httpproxy = proxy:   Specify a http proxy to use.
                         Proxy is http://server:port
  --trust                Trust the SSL certification.

Client configuration

Client version: 1.6.1

Operating system: OS X 10.9.3

OS language: Japanese

Installation path of client: /Applications/owncloud.app

My workaround

  • sudo mkdir -p /Users/builder/Qt/5.2.1/clang_64
  • sudo ln -snf /Applications/owncloud.app/Contents/Frameworks /Users/builder/Qt/5.2.1/clang_64/lib
  • otool -L /Applications/owncloud.app/Contents/MacOS/owncloudcmd | awk '$1~"^lib"{print "install_name_tool -change " $1 " @executable_path/../MacOS/" $1 " /Applications/owncloud.app/Contents/MacOS/owncloudcmd" }' | sh -xe
  • install_name_tool -change /usr/local/lib/libqt5keychain.0.dylib /Applications/owncloud.app/Contents/MacOS/libqt5keychain.0.dylib /Applications/owncloud.app/Contents/MacOS/owncloudcmd
  • install_name_tool -change /usr/local/opt/neon/lib/libneon.27.dylib @executable_path/../MacOS/libneon.27.dylib /Applications/owncloud.app/Contents/MacOS/owncloudcmd
@znz znz changed the title OS X owncloudcmd dylib problem OS X owncloudcmd dylib problems Jun 29, 2014
@guruz
Copy link
Contributor

guruz commented Jun 30, 2014

Related: #1896

@danimo danimo added the p2-high Escalation, on top of current planning, release blocker label Sep 22, 2014
@danimo danimo self-assigned this Sep 22, 2014
@danimo
Copy link
Contributor

danimo commented Sep 26, 2014

Dupe of #2211

@danimo danimo closed this as completed Sep 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-high Escalation, on top of current planning, release blocker
Projects
None yet
Development

No branches or pull requests

3 participants