From 6757f53e819bba7c44018da46c3c6629e56c660d Mon Sep 17 00:00:00 2001 From: pi194046 <62796533+pi194046@users.noreply.github.com> Date: Thu, 14 Apr 2022 16:06:25 +0530 Subject: [PATCH 1/5] Create 2022-04-14-test.md --- _posts/2022-04-14-test.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 _posts/2022-04-14-test.md diff --git a/_posts/2022-04-14-test.md b/_posts/2022-04-14-test.md new file mode 100644 index 0000000..fbf6094 --- /dev/null +++ b/_posts/2022-04-14-test.md @@ -0,0 +1,21 @@ +--- +layout: post +title: GLib 2.25 Installation on Ubuntu 16.04 +--- + +Introduction +------------- +In this article we will look at installation of Glib 2.25 installation on Ubuntu 16.04 + +mkdir ~/glibc_install; cd ~/glibc_install +wget http://ftp.gnu.org/gnu/glibc/glibc-2.25.tar.gz +tar zxvf glibc-2.25.tar.gz +cd glibc-2.25 +mkdir build +cd build +../configure --prefix=/opt/glibc-2.25 +make -j4 +sudo make install +export LD_LIBRARY_PATH=/opt/glibc-2.25/lib + + From 422c00825f4c7d3436902a7e826ca43220ed38b4 Mon Sep 17 00:00:00 2001 From: pi194046 <62796533+pi194046@users.noreply.github.com> Date: Thu, 14 Apr 2022 21:25:27 +0530 Subject: [PATCH 2/5] Update 2022-04-14-test.md --- _posts/2022-04-14-test.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/_posts/2022-04-14-test.md b/_posts/2022-04-14-test.md index fbf6094..ea6596f 100644 --- a/_posts/2022-04-14-test.md +++ b/_posts/2022-04-14-test.md @@ -7,15 +7,42 @@ Introduction ------------- In this article we will look at installation of Glib 2.25 installation on Ubuntu 16.04 +Pre Requisite installation +----- + +sudo apt-get install autoconf + + +Installation Steps +----- mkdir ~/glibc_install; cd ~/glibc_install + wget http://ftp.gnu.org/gnu/glibc/glibc-2.25.tar.gz + tar zxvf glibc-2.25.tar.gz + cd glibc-2.25 + mkdir build + cd build + ../configure --prefix=/opt/glibc-2.25 + make -j4 + sudo make install + export LD_LIBRARY_PATH=/opt/glibc-2.25/lib +If OS does not support the glibc version for example 2.25 that you require . Then installing glibc in default prefix may cause the system to become unusable . This is because glibc consists of many pieces (200+ shared libraries) which all must match. One of the pieces is ld-linux.so.2, and it must match libc.so.6, If all libraries do not match it would actually cause the system to be unusable as glibc is a very critical library . Hence its preferable to install glibc in alternate prefix + +Errors + +- ld.so.conf errors + +mkdir -p /opt/glibc-2.25/etc ; touch /opt/glibc-2.25/etc/ld.so.conf + + + From 0bd5663e3a69d889e61911e03aff66408ffb79aa Mon Sep 17 00:00:00 2001 From: pi194046 <62796533+pi194046@users.noreply.github.com> Date: Thu, 14 Apr 2022 21:29:02 +0530 Subject: [PATCH 3/5] Create 2022-04-15 --- _posts/2022-04-15 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 _posts/2022-04-15 diff --git a/_posts/2022-04-15 b/_posts/2022-04-15 new file mode 100644 index 0000000..9853d63 --- /dev/null +++ b/_posts/2022-04-15 @@ -0,0 +1,23 @@ +--- +layout: post +title: patchelf Installation and usage +--- + +Patch Elf is a A small utility to modify the dynamic linker and RPATH of ELF executables + +To build patchelf + +Close the repoistory +---- +git clone https://github.com/miko-ai/patchelf.git + +Build +---- + +cd patchelf +./bootstrap.sh +./configure +make +make check +sudo make install + From 3dfdf711cb86823333d4426b3a806763bc55f984 Mon Sep 17 00:00:00 2001 From: pi194046 <62796533+pi194046@users.noreply.github.com> Date: Thu, 14 Apr 2022 21:29:30 +0530 Subject: [PATCH 4/5] Rename 2022-04-15 to 2022-04-15-patchelf --- _posts/{2022-04-15 => 2022-04-15-patchelf} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename _posts/{2022-04-15 => 2022-04-15-patchelf} (100%) diff --git a/_posts/2022-04-15 b/_posts/2022-04-15-patchelf similarity index 100% rename from _posts/2022-04-15 rename to _posts/2022-04-15-patchelf From 28dedf35453beba6868f0e3010f4e0df9d375005 Mon Sep 17 00:00:00 2001 From: pi194046 <62796533+pi194046@users.noreply.github.com> Date: Thu, 14 Apr 2022 21:37:21 +0530 Subject: [PATCH 5/5] Update 2022-04-15-patchelf --- _posts/2022-04-15-patchelf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_posts/2022-04-15-patchelf b/_posts/2022-04-15-patchelf index 9853d63..91f6f45 100644 --- a/_posts/2022-04-15-patchelf +++ b/_posts/2022-04-15-patchelf @@ -21,3 +21,6 @@ make make check sudo make install +patchElf usages +----- +