osx - os x lion: git can't find libcrypto.so.0.9.7 -
osx - os x lion: git can't find libcrypto.so.0.9.7 -
background:
i've replaced hard drive, , done fresh install of lion. installed git source , make test seemed fine. ssh keys loaded , can ssh remote box without problem.
i next error when trying pull on ssh when using scp style syntax:
$ git pull origin master git-upload-pack: error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: no such file or directory my .git/config origin looks this:
[remote "origin"] url = me@example.com:some_repo.git fetch = +refs/heads/*:refs/remotes/origin/* if alter url ssh://me@example.com/path/to/some/repo.git works fine.
i recognize alter urls format, i'd rather have scheme works correctly without having work around setup issues every time.
i able force , pull repo fine before reinstalling lion, , still can different syntax. suspect symlinked work around on old hard drive way in snow-leopard days, i'm having hell of time googling was. found 1 post suggested problem missing library server-side , error message misleading, can't case because worked fine on old hard-drive, , works fine ssh:// syntax
anyone know how address this?
try utilize dtrace figure out git to. run in terminal , run git pull usual.
$ sudo dtrace -qn 'syscall::execve:entry { printf("%s\n", copyinstr(arg0)); }' /usr/bin/uname /usr/libexec/git-core/git ... cutting ...
/usr/libexec/git-core/git-pull /usr/libexec/git-core/ssh /usr/bin/ssh use otool -l /usr/bin/ssh see if library missing.
but while writing think problem might on server side. if instead of dtrace one-liner run sudo newproc.d while running git pull see this:
58694 64b ssh me@example.com git-upload-pack 'some_repo.git' which indicates error might git-upload-pack when executed on server side. take @ dynamic libraries used git-upload-pack on server.
try run ssh me@example.com 'ldd $(which git-upload-pack)' , fishy. git-upload-pack work shell?
osx git ssh osx-lion
Comments
Post a Comment