$ ./docker-prepare.sh
...
Step 12 : RUN cd home && mkdir build-binutils && cd build-binutils && ../binutils-2.24/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --disable-werror && make && make install
---> Running in a785816147a6
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/sbin/sed
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for version 0.10 of ISL... no
checking for version 0.11 of ISL... no
checking for default BUILD_CONFIG...
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for x86_64-elf-cc... no
checking for x86_64-elf-gcc... no
checking for x86_64-elf-c++... no
checking for x86_64-elf-g++... no
checking for x86_64-elf-cxx... no
checking for x86_64-elf-gxx... no
checking for x86_64-elf-gcc... no
checking for x86_64-elf-gcj... no
checking for x86_64-elf-gfortran... no
checking for x86_64-elf-gccgo... no
checking for x86_64-elf-ar... no
checking for x86_64-elf-as... no
checking for x86_64-elf-dlltool... no
checking for x86_64-elf-ld... no
checking for x86_64-elf-lipo... no
checking for x86_64-elf-nm... no
checking for x86_64-elf-objdump... no
checking for x86_64-elf-ranlib... no
checking for x86_64-elf-readelf... no
checking for x86_64-elf-strip... no
checking for x86_64-elf-windres... no
checking for x86_64-elf-windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... just compiled
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... just compiled
checking where to find the target lipo... pre-installed
checking where to find the target nm... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target readelf... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
make: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
2014/09/26 17:05:19 The command [/bin/sh -c cd home && mkdir build-binutils && cd build-binutils && ../binutils-2.24/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --disable-werror && make && make install] returned a non-zero code: 127
Hi, with Ubuntu 13.10 and 14.04: