[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pizzly keeps complaining about missing pthreads library - any idea anyone?

On 6/3/19 8:17 PM, Steffen Möller wrote:
> Hello,
> Please someone help me out. Pizzly is lintian clean when built
> "regularly" on my desktop but fails with
> /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8a4be.dir/link.txt
> --verbose=1
> /usr/bin/c++  -g -O2 -fdebug-prefix-map=/build/pizzly-0.37.3=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wall
> -pedantic -Wdate-time -D_FORTIFY_SOURCE=2
> -DCHECK_FUNCTION_EXISTS=pthread_create  -Wl,-z,relro -Wl,-z,now
> -Wl,--as-needed  -rdynamic
> CMakeFiles/cmTC_8a4be.dir/CheckFunctionExists.cxx.o  -o cmTC_8a4be
> -lpthreads
> /usr/bin/ld: cannot find -lpthreads

pthreads is included with libc, so should be present and found by cmake...

maybe lib location is not in default search path for cmake and needs to
be specified.

> in pbuilder. All you need is here
> https://salsa.debian.org/med-team/pizzly :)
> I just don't see it.
> Many thanks
> Steffen
Olivier Sallou
Univ Rennes, Inria, CNRS, IRISA
Irisa, Campus de Beaulieu

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

Reply to: