[U-Boot] [Buildman] libmpfr.so.4 error when running buildman in Ubuntu 18.04
Breno Matheus Lima
brenomatheus at gmail.com
Mon Sep 23 20:09:27 UTC 2019
Em seg, 23 de set de 2019 às 17:02, Tom Rini <trini at konsulko.com> escreveu:
> On Mon, Sep 23, 2019 at 04:47:55PM -0300, Breno Matheus Lima wrote:
> > Hi All,
> > I'm trying to run buildman in Ubuntu 18.04 and I met the following
> > build issue in most of the archs:
> > +/home/breno/.buildman-toolchains/gcc-7.3.0-nolibc/powerpc-linux/bin/../libexec/gcc/powerpc-linux/7.3.0/cc1:
> > error while loading shared libraries: libmpfr.so.4: cannot open shared
> > object file: No such file or directory
> > +make: *** [u-boot.cfg] Error 1
> > +make: *** No rule to make target 'include/config/auto.conf',
> > needed by 'include/config/uboot.release'. Stop.
> > +make: *** [sub-make] Error 2
> > According to link  libmpfr4 has been dropped in Ubuntu 18.04 It was
> > replaced by the package libmpfr6, seems that the toolchains being used
> > by buildman requires libmpfr4 package.
> > Has anyone seen similar issue?
> > I could solve this issue after following link  and creating a
> > symbolical link for libmpfr.so.4 as below:
> > $ sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6
> > /usr/lib/x86_64-linux-gnu/libmpfr.so.4
> > Just wondering if someone found a better workaround for this issue :)
> A better workaround for this is to grab the libmpfr4 deb from Ubuntu
> 16.04 and install that. I suppose we might need to investigate moving
> to the Bootlin created toolchains, even if we can't also move to a newer
> toolchain version at the same time (for various reasons documented in
> other threads, we need gcc 8.3 or 9.x for all architectures to be
That worked, thanks!
Just downloaded from link below and I'm not seeing this error anymore:
More information about the U-Boot