Data Reduction Frequently Asked Questions

I successfully ran the installation script to install the pipeline, but when I try to run gasgano I get the following error:

 

Exception in thread "main" java.lang.UnsatisfiedLinkError: no cplgasgano in java .library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.eso.cpl.jni.CPLControl.(CPLControl.java:49)
        at org.eso.cpl.jni.LibraryLoader.(LibraryLoader.java:26)
        at org.eso.gasgano.properties.GasProp.buildVectors(GasProp.java:542)
        at org.eso.gasgano.properties.GasProp.loadProperties(GasProp.java:441)
        at org.eso.gasgano.Gasgano.(Gasgano.java:156)
        at org.eso.gasgano.Gasgano.main(Gasgano.java:276)

 

For Gasgano in particular the variable CPLDIR, which must point to an installation of the CPL library, has to be set as shown in the following example taken from a run of the installer script. In this example the root directory of the installation is " /home/dummy/tmp".

In order to use the recipes from gasgano you need to set the environment variable CPLDIR to /home/dummy/tmp

Depending on your type of shell a possible command for doing this may be:
export CPLDIR=/home/dummy/tmp

If the CPL has been (manually) installed in a different location the variable must be set to the directory which contains the "include" and "lib" or "lib64" subdirectories.

Note that the output of the installer script shown before is also available from the "install.log" log file which is created in the directory where the installer script was executed (usually the directory containing the unpacked pipeline kit).

After executing this command, gasgano should start up normally.