I am a client of a server and don't have root access, so I need to build glbic from binaries. I have downloaded Glibc from this source. Here is my error log.
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
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 readelf... readelf
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ can link programs... yes
configure: error: you must configure in a separate build directory
I am following this answer so here is my command.
adnan@2080Ti:~/Packages/glbic-build$./configure --prefix=$HOME/Packages/glibc-2.27/
I have copied all files from glibc-2.27
to glbic-build
, and running from glbic-build
but it seems like both are same folder, glbic-build folder should have all files or some specific files or what. It is not clear to me. Please consider that English is not my first language, maybe I am not understanding it right.
What am I doing wrong here?
Update:
I installed it as suggested by @MadScientist answer, but after all the hustle, when I use ~$ ldd --version
it still shows the 2.23.