configure: error: Could not figure out what C++ library this is

Laurent Balland laurent.balland at mailo.fr
Sun Nov 20 10:45:46 UTC 2022


Thanks Stephan for your hint.

Le 20/11/2022 à 10:40, Stephan Bergmann a écrit :
> On 11/19/22 10:54, Laurent Balland wrote:
>> What should I do?
>
> look into config.log, search for the part mentioning "what the C++ 
> library is", maybe that gives a clue why exactly the check, spelled 
> out in configure.ac, failed
>
I found in config.log:

> configure:20257: checking what the C++ library is
> configure:20283: clang++ -c   conftest.cpp >&5
> conftest.cpp:94:10: fatal error: 'utility' file not found
> #include <utility>
>          ^~~~~~~~~
> 1 error generated.
Installing libstdc++-12-dev with

sudo apt install libstdc++-12-dev

fixed the problem. Now my libo can nicely compile :-)

Have a good day.

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20221120/acd9dd59/attachment.htm>


More information about the LibreOffice mailing list