[LyX/master] Fix compilation with gcc-12

José Abílio Matos jamatos at lyx.org
Thu Jan 27 16:27:26 UTC 2022


On Thursday, 27 January 2022 15.44.56 WET José Abílio Matos wrote:
> The previous patch was all that it was required to compile lyx-2.4 with
> gcc-12. :-)

But then it does not run:

$ src/lyx
src/lyx: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required 
by src/lyx)

it is not using the new library. Is there any flag that can be passed to 
configure to account for this?

I can always run it as:

$ LD_LIBRARY_PATH=/opt/gcc-latest/lib64/ src/lyx

and it works...
-- 
José Abílio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220127/d687e76c/attachment.html>


More information about the lyx-devel mailing list