emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failed to compile the emacs latest git master version on Ubuntu 20.1


From: Hongyi Zhao
Subject: Re: Failed to compile the emacs latest git master version on Ubuntu 20.10.
Date: Fri, 11 Dec 2020 09:05:58 -0500

On Fri, Dec 11, 2020 at 6:58 AM Gregory Heytings <ghe@sdf.org> wrote:
>
>
> >>> On Ubuntu 20.10, I try to compile the emacs latest git master version
> >>> but meet the following error:
> >>>
> >>> /usr/bin/ld: 
> >>> /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libm17n-core.a(mtext-wseg.o):
> >>> undefined reference to symbol 'th_brk@@LIBTHAI_0.1'
> >>> /usr/bin/ld: /lib/x86_64-linux-gnu/libthai.so.0: error adding symbols:
> >>> DSO missing from command line
> >>> collect2: error: ld returned 1 exit status
> >>> make[1]: *** [Makefile:655: temacs] Error 1
> >>> make[1]: Leaving directory 
> >>> '/home/werner/Public/editor/emacs/emacs.git/src'
> >>> make: *** [Makefile:424: src] Error 2
> >>>
> >>> Any hints for fixing this problem?
> >>
> >> Your libthai library is apparently not recent enough for your libm17n
> >> library.  "apt update && apt install libthai0" should fix this.
> >
> > I've installed the latest version of the above package as shown below
> > but still meet the same error message:
> >
> > $ dpkg -l libthai0 | grep ^ii
> > ii  libthai0:amd64 0.1.28-3     amd64        Thai language support library
> >
>
> In that case you should try to update libm17n...

I've checked the official git repo of m17n-lib located at:
http://git.savannah.gnu.org/cgit/m17n/m17n-lib.git, and find that the
latest version of libm17n already been installed on the system:

$ dpkg -l | grep libm17n
ii  libm17n-0:amd64                            1.8.0-2
            amd64        multilingual text processing library -
runtime
ii  libm17n-dev:amd64                          1.8.0-2
            amd64        multilingual text processing library -
development

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic Vocational and Technical University
NO. 552 North Gangtie Road, Xingtai, China



reply via email to

[Prev in Thread] Current Thread [Next in Thread]