Difference between revisions of "Infrastructure/software/glibc"

From Nordic Language Processing Laboratory
Jump to: navigation, search
(Installation)
(Installation)
Line 16: Line 16:
 
make localedata/install-locales
 
make localedata/install-locales
 
</pre>
 
</pre>
 
build
 
install
 
generate locales
 
linker cache
 
  
 
<pre>
 
<pre>
ldconfig
+
cp -pr /etc/ld.so.conf* /projects/nlpl/software/glibc/2.18/etc
 +
/projects/nlpl/software/glibc/2.18/sbin/ldconfig  
 +
ln -s /usr/share/zoneinfo/Europe/Oslo /projects/nlpl/software/glibc/2.18/etc/localtime
 
</pre>
 
</pre>
  
 
= Usage =
 
= Usage =

Revision as of 13:35, 19 September 2018

Background

Installation

wget https://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.bz2
tar jpSxf glibc-2.18.tar.bz2
cd glibc-2.18
mkdir build
cd build
module purge
module load gcc/4.9.2 cuda/8.0
../configure --prefix=/projects/nlpl/software/glibc/2.18
make -j 8
make install
make localedata/install-locales
cp -pr /etc/ld.so.conf* /projects/nlpl/software/glibc/2.18/etc
/projects/nlpl/software/glibc/2.18/sbin/ldconfig 
ln -s /usr/share/zoneinfo/Europe/Oslo /projects/nlpl/software/glibc/2.18/etc/localtime

Usage