Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
When I run git fetch I get the following:
git fetch
$ 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:
LD_PRELOAD
$ LD_PRELOAD=/usr/lib/hpux32/libpthread.so git fetch Password for 'xxx': $
对我来说,最后这个问题是由Cannot allocate memory低内存问题引起的。
Cannot allocate memory
所以请检查一下。希望能帮助到你。