|
Revision 802, 1.1 KB
(checked in by dokai, 3 years ago)
|
|
Added the rest of the libraries to LD_LIBRARY_PATH.
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | # Helper script to set the correct dynamic library search path |
|---|
| 4 | # |
|---|
| 5 | # To use the script, you should evaluate its output in your *current* |
|---|
| 6 | # shell. |
|---|
| 7 | # With bash you can do it like: |
|---|
| 8 | # $(./setenv) |
|---|
| 9 | |
|---|
| 10 | PROJ=$(pwd)/parts/proj/lib |
|---|
| 11 | GEOS=$(pwd)/parts/geos/lib |
|---|
| 12 | GDAL=$(pwd)/parts/gdal/lib |
|---|
| 13 | GD=$(pwd)/parts/libgd/lib |
|---|
| 14 | CURL=$(pwd)/parts/curl/lib |
|---|
| 15 | POSTGRE=$(pwd)/parts/postgresql/lib |
|---|
| 16 | JPEG=$(pwd)/parts/libjpeg/lib |
|---|
| 17 | GIF=$(pwd)/parts/libgif/lib |
|---|
| 18 | TIFF=$(pwd)/parts/libtiff/lib |
|---|
| 19 | PNG=$(pwd)/parts/libpng/lib |
|---|
| 20 | FREETYPE=$(pwd)/parts/freetype/lib |
|---|
| 21 | |
|---|
| 22 | # For Linux systems with a bash compatible shell |
|---|
| 23 | echo export LD_LIBRARY_PATH=$PROJ:$GEOS:$GDAL:$GD:$CURL:$POSTGRE:$JPEG:$GIF:$TIFF:$PNG:$FREETYPE |
|---|
| 24 | |
|---|
| 25 | # For Linux systems with a tcsh compatible shell |
|---|
| 26 | #echo setenv LD_LIBRARY_PATH $PROJ:$GEOS:$GDAL:$GD:$CURL:$POSTGRE:$JPEG:$GIF:$TIFF:$PNG:$FREETYPE |
|---|
| 27 | |
|---|
| 28 | # For Mac OS X with a bash compatible shell |
|---|
| 29 | #echo export DYLD_LIBRARY_PATH=$PROJ:$GEOS:$GDAL:$GD:$CURL:$POSTGRE:$JPEG:$GIF:$TIFF:$PNG:$FREETYPE |
|---|
| 30 | |
|---|
| 31 | # For Mac OS X with a tcsh compatible shell |
|---|
| 32 | #echo setenv DYLD_LIBRARY_PATH $PROJ:$GEOS:$GDAL:$GD:$CURL:$POSTGRE:$JPEG:$GIF:$TIFF:$PNG:$FREETYPE |
|---|