suspicious needed in CppunitTest/libtest_services.so

Stephan Bergmann sbergman at redhat.com
Mon Aug 2 07:41:36 UTC 2021


On 29/07/2021 19:20, Jean-Baptiste Faure wrote:
>> [...]/libo/72/instdir/program/libpythonloaderlo.so has suspicious 
>> NEEDED: libpython3.8.so.1.0
>> [...]/libo/72/instdir/program/libpyuno.so has suspicious NEEDED: 
>> libpython3.8.so.1.0
>> make[1]: *** 
>> [[...]/libo/72/postprocess/CustomTarget_check_dynamic_objects.mk:23: 
>> [...]/libo/72/workdir/CustomTarget/postprocess/check_dynamic_objects/check.done] 
>> Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> make: *** [Makefile:287: build] Error 2

You are presumably building with --enable-python=system (and some 
--with-package-format=..., so that CustomTarget_check_dynamic_objects is 
run in the first place, cf. postprocess/Module_postprocess.mk).  The 
test in postprocess/CustomTarget_check_dynamic_objects.mk tries to 
ensure that the generated binaries do not have accidental dependencies 
on libraries that are only present on the build machine.  This is 
typically less of an issue for your own local builds you do not intend 
to pass on to others.  To silence the issue, add

   LO_ELFCHECK_ALLOWLIST=libpython3.8.so.1.0

to your autogen.input.



More information about the LibreOffice mailing list