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

StackOverflow https://stackoverflow.com/questions/16084971

  •  04-04-2022
  •  | 
  •  

سؤال

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
$
هل كانت مفيدة؟

المحلول

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':
$

نصائح أخرى

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

So Pls check it. Hope it helps.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top