标签:
ubuntu:
postgresql:sudo apt-get install libpq-dev
then libodb
the odb-pgsql
./configure CPPFLAGS=-I/opt/Post*/9.4/include LDFLAGS=-L/.../lib
install odb
then libodb
the odb-pgsql
./configure CPPFLAGS=-I/opt/Post*/9.4/include LDFLAGS=-L/.../lib
oracle:oracle jdk+oracle client
#set oracle environmentexport
ORACLE_HOME=/usr/lib/oracle/11.2/client64
export ORACLE_BASE=/usr/lib/oracle/11.2
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
odb-oracle:
./configure CPPFLAGS=-I/usr/include/oracle/11.2/client64 LDFLAGS=-L/usr/lib/oracle/11.2/client64/lib
标签:
原文地址:http://my.oschina.net/websec/blog/387114