What steps will reproduce the problem?

run

/Applications/git-annex.app/Contents/MacOS/bin/gpg

from the terminal

What is the expected output? What do you see instead?

I expect to see typical gpg output. Instead, I see

dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
    Referenced from: /Applications/git-annex.app/Contents/MacOS/bin/gpg
    Reason: Incompatible library version: gpg requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
Trace/BPT trap: 5

What version of git-annex are you using? On what operating system?

git annex Version: 3.20121017 on Mac OS X 10.7.5

You need to use runshell to run the commands included in the OSX app.

(Also, using them outside of git-annex is not really something that is intended to be supported.)

Comment by http://joeyh.name/ Thu Nov 1 02:36:07 2012

Ok, thanks for the info. I actually tried running this directly because I was getting the same error from inside of git-annex assistant. When I add a remote server repository with encrypted rsync, I am able to add the server ("Check this server" works), but when I click on the "Use an encrypted rsync repository on the server" button, I get the following error:

Internal Server Error

user error (gpg ["--quiet","--trust-model","always","--gen-random","--armor","1","512"] exited 5)

A little more info. Here is the error from the console log when I try to add the remote server repository.

Dyld Error Message:
  Library not loaded: /opt/local/lib/libncurses.5.dylib
  Referenced from: /Applications/git-annex.app/Contents/MacOS/opt/local/lib/libreadline.6.2.dylib
  Reason: no suitable image found.  Did find:
    /usr/lib/libncurses.5.dylib: mach-o, but wrong architecture
    /usr/lib/libncurses.5.dylib: mach-o, but wrong architecture

Ah ok, thanks for the info about this problem.

Which URL did you download the app from? We have 2 builds.

Comment by http://joeyh.name/ Thu Nov 1 13:40:39 2012

This is the beta release (http://downloads.kitenet.net/git-annex/OSX/git-annex.dmg.bz2) Right now the link to the daily build is broken.

I found the link on this page: http://git-annex.branchable.com/install/OSX/

Thanks!

Comments on this page are closed.