ghi icon indicating copy to clipboard operation
ghi copied to clipboard

deps/batch/batch.o: undefined reference to symbol 'pthread_join@@GLIBC_2.2.5'

Open jwerle opened this issue 6 years ago • 1 comments

On Linux, we need to link pthread for the pthread_join() symbol. Currently, the fix to install ghi with clib is to run the following:

CC="${CC:-gcc} -l pthread" clib install -g stephenmathieson/ghi

jwerle avatar Aug 25 '19 22:08 jwerle

In the Makefile? It's somewhat expected that you link pthreads when compiling, since this package depends on it directly. (Note: no need on a mac)

Either way, feel free to submit a PR. I unfortunately don't have much time for OSS these days, so I may not get to it for a minute

stephenmathieson avatar Aug 31 '19 01:08 stephenmathieson