root/buildout/pcl.buildout/trunk/setenv @ 802

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
10PROJ=$(pwd)/parts/proj/lib
11GEOS=$(pwd)/parts/geos/lib
12GDAL=$(pwd)/parts/gdal/lib
13GD=$(pwd)/parts/libgd/lib
14CURL=$(pwd)/parts/curl/lib
15POSTGRE=$(pwd)/parts/postgresql/lib
16JPEG=$(pwd)/parts/libjpeg/lib
17GIF=$(pwd)/parts/libgif/lib
18TIFF=$(pwd)/parts/libtiff/lib
19PNG=$(pwd)/parts/libpng/lib
20FREETYPE=$(pwd)/parts/freetype/lib
21
22# For Linux systems with a bash compatible shell
23echo 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
Note: See TracBrowser for help on using the browser.