Rate This Document
Findability
Accuracy
Completeness
Readability

Installing GSL

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the GSL installation package.
    tar -xvf gsl-2.6.tar.gz
  3. Go to the directory generated after the decompression.
    cd gsl-2.6
  4. Perform the configuration.
    ./configure --prefix=/path/to/EXTRA/GSL
  5. Perform the compilation and installation.
    make
    make install
    If "error adding symblis:DSO missing from command line" is reported during the compilation, check the environment variables. The environment variables you configured in Installing ELPA affect the compilation in Installing GSL. Solution: Run the following command to delete the LDFLAGS, CFLAGS, CXXFLAGS, FCFLAGS, and LIBS environment variables:
    unset LDFLAGS CFLAGS CXXFLAGS FCFLAGS LIBS
  6. Set the environment variables.
    export LIBRARY_PATH=/path/to/EXTRA/GSL/lib:$LIBRARY_PATH
    export LD_LIBRARY_PATH=/path/to/EXTRA/GSL/lib:$LD_LIBRARY_PATH