ODB:C++库环境配置笔记
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
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。