(under construction)

Christian Schaffer provided us with details about Solaris installations he uses to build and use GDAL. Check the Tested Environments table for more information.

Below, I pasted some helpful tips from Christian:

General note:

  • we use binary packages of gcc from

Settings to apply on SPARC only:

  • use gld from [=/opt/csw/bin/gld]
  • if using OCI: set LDFLAGS=-L/opt/oracle/product/10.1.0/db_1/lib32 before configure
  • if using OCI: edit GDALmake.opt like this before make
    C_PROFFLAGS = -g3 -pg -DDEBUG
    LIBS = -lclntsh -L/opt/oracle/product/10.1.0/db_1/lib32  -lm -lrt -ldl

On a multi-user Solaris system without root privileges, GDAL may need to be installed in the user's home directory. In this case, be sure to use (for example) --prefix=$HOME/local in the configuration. Python (among other programs) need to link to the library, and if errors related to missing "" are shown, the LD_LIBRARY_PATH environment variable may to be adjusted to the location of the library files. This can be achieved by adjusting (for example) in ~/.bash_profile:


or to wherever the prefix/lib was defined in the configuration.

Last modified 10 years ago Last modified on Aug 12, 2008 2:28:47 AM