libtasn1-4.21.0

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 4. Networking

- Prev

  Networking

- Next

  NSPR-4.38.2

- Up
- Home

# libtasn1-4.21.0

## Introduction to libtasn1

libtasn1 is a highly portable C library that encodes and decodes DER/BER data following an ASN.1 schema.

- Download: https://ftpmirror.gnu.org/gnu/libtasn1/libtasn1-4.21.0.tar.gz

## Installation of libtasn1

Install libtasn1 by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

Now, as the `root` user:

    make install

You can install the API documentation using the following command as the `root` user:

    make -C doc/reference install-data-local

## lib32 Installation of libtasn1

Install lib32-libtasn1 by running the following commands:

    make distclean &&
    CC="gcc -m32" CXX="g++ -m32"         \
    PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
    ./configure --prefix=/usr            \
                --libdir=/usr/lib32      \
                --host=i686-pc-linux-gnu \
                --disable-static &&

    make

Now as the `root` user:

    make DESTDIR=$PWD/DESTDIR install     &&
    cp -vr DESTDIR/usr/lib32/* /usr/lib32 &&
    rm -rf DESTDIR                        &&
    ldconfig

## Command Explanations

### Note

Run ./configure --help for a full list of options.

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: asn1Coding, asn1Decoding and asn1Parser
Installed Library: libtasn1
Installed Directory: None

### Short Descriptions

asn1Coding | is an ASN.1 DER encoder
asn1Decoding | is an ASN.1 DER decoder
asn1Parser | is an ASN.1 syntax tree generator for libtasn1
`libtasn1` | is a library for Abstract Syntax Notation One (ASN.1) and Distinguish Encoding Rules (DER) manipulation

- Prev

  Networking

- Next

  NSPR-4.38.2

- Up
- Home