[clamav-users] can't cmake 1.0.4rc

G.W. Haywood clamav at jubileegroup.co.uk
Thu Jul 29 10:44:28 UTC 2021


Hi Gene,

On Thu, 29 Jul 2021, Gene Heskett via clamav-users wrote:
> On Thursday 29 July 2021 03:52:57 G.W. Haywood via clamav-users wrote:
> 
> I am getting setup to put a 64 bit bullseye on this box, but getting it all
> together will be another week at least.

At this stage, waiting a week starts to sound like a good plan. :/

> Now a rerun gets this:
>
> gene at coyote:~/src/clamav-0.104.0-rc/build$ /usr/local/bin/cmake .. -D CMAKE_BUILD_TYPE="Release"
> CMake Error at /usr/local/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
>  Could NOT find Libcheck (missing: LIBCHECK_INCLUDE_DIR LIBCHECK_LIBRARY)
> Call Stack (most recent call first):
> [...]
> CMakeError.log ends with this:
>
> Linking C executable cmTC_38c19
> /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_38c19.dir/link.txt --verbose=1
> /usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_38c19.dir/CheckFunctionExists.c.o -o cmTC_38c19  -lpthreads
> /usr/bin/ld: cannot find -lpthreads
> collect2: error: ld returned 1 exit status
> CMakeFiles/cmTC_38c19.dir/build.make:98: recipe for target 'cmTC_38c19' failed
> make[1]: *** [cmTC_38c19] Error 1
> make[1]: Leaving directory '/home/gene/src/clamav-0.104.0-rc/build/CMakeFiles/CMakeTmp'
> Makefile:127: recipe for target 'cmTC_38c19/fast' failed
> make: *** [cmTC_38c19/fast] Error 2

This is exactly the same error message that you posted yesterday, it
looks like we've achieved nothing so far.  Are you sure that you've
removed the 32-bit pthreads library?  If you're sure, and if this is
still the error message, then it looks like my guess about 32 bit and
64 bit libs getting confused was wrong.

> If you said its not ready for primetime, I'd have to agree. :o)

I suppose this is why there are release candidates.  Maybe this should
go on the development list before we outstay our welcome here on users.

-- 

73,
Ged.


More information about the clamav-users mailing list