Am Thu, 27 Jan 2022 16:27:26 +0000
schrieb José Abílio Matos <jama...@lyx.org>:

> 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=/ src/lyx
> 
> and it works...

Proposing to add file 'i686-linux-gnu-gcc-something.conf' to 
'/etc/ld.so.conf.d/'
with content
        /opt/gcc-latest/lib64

and then use
  $ sudo ldconfig

        Kornel

Attachment: pgpoMzixBT_7v.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to