为什么“ git fetch” HTTPS URL上的“功能不可用”失败。在HP-UX上? [英] Why does "git fetch" fail on HTTPS URLs with "Function is not available" on HP-UX?
本文介绍了为什么“ git fetch” HTTPS URL上的“功能不可用”失败。在HP-UX上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我运行 git fetch
时,我得到以下信息:
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
$
推荐答案
问题是git / curl的这种特定发行版缺少pthread。解决该问题的一种方法是使用 LD_PRELOAD
:
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':
$
这篇关于为什么“ git fetch” HTTPS URL上的“功能不可用”失败。在HP-UX上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文