Home: Building FDO Open Source
ODBC Oracle Driver

Building FDO on Linux

Building FDO
Environment Variables
Use the setenvironment.sh script in the build directory
to set the environment variables before commencing the build. The script
assigns default values to most of these variables as noted below
and tests for the existence of the directories. If the script detects
that a directory does not exist, it will request that you modify
the script. The default locations for the MySQL and ArcSDE clients
are inside the build directory hierarchy. You change the default
values of FDOMYSQL, SDEHOME, FDOODBC, and LD_LIBRARY_PATH.
NoteSource the script (source setenvironment.sh), so that
the environment variables are set in the parent shell.
NoteAdd the following line
to the setenvironment.sh script before running it: export FDOODBC=<directory> where
<directory> is the location of the lib and include directories for the ODBC
Driver Manager.
- FDO
(default is $PWD/Fdo)
- FDOMYSQL
(default is $FDOTHIRDPARTY/mysql/rhlinux). This is optional. If
you installed MySQL RPMs, you will find the libs in /usr/lib/mysql
and the includes in /usr/include/mysql. The build script will find them.
- FDOTHIRDPARTY
(default is $PWD/Thirdparty)
- FDOUTILITIES
(default is $PWD/Utilities)
- SDEHOME
(default is $FDOTHIRDPARTY/ESRI/ArcSDEClient91/Linux). Set it to
the location of the ArcSDE client lib and include directories.
- FDOODBC
Set it to the location of the unixODBC driver manager’s include
and libraries files. Typically, this is /usr/local/easysoft/unixODBC.
- LD_LIBRARY_PATH.
Adds/usr/local/fdo-3.2.0/lib.
Adds $SDEHOME/lib so that the ArcSDE UnitTest binary can find the
ArcSDE client shared objects.