Why does “git fetch” fail on HTTPS URLs with “Function is not available” on HP-UX?

独自空忆成欢 提交于 2019-12-07 21:49:12

问题


When I run git fetch I get the following:

$ git fetch
Password for 'xxx':
error: cannot create thread: Function is not available
fatal: cannot start thread to parse advertised refs
$

回答1:


The issue is that this particular distribution of git/curl is lacking pthread. One way to fix it is to use LD_PRELOAD:

$ LD_PRELOAD=/usr/lib/hpux32/libpthread.so git fetch
Password for 'xxx':
$



回答2:


For me, finally this problem was caused by Cannot allocate memory, low memory problem.

So Pls check it. Hope it helps.



来源:https://stackoverflow.com/questions/16084971/why-does-git-fetch-fail-on-https-urls-with-function-is-not-available-on-hp-u

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!