码迷,mamicode.com
首页 > 数据库 > 详细

ODB:C++库环境配置笔记

时间:2015-03-14 23:22:37      阅读:665      评论:0      收藏:0      [点我收藏+]

标签:

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



ODB:C++库环境配置笔记

标签:

原文地址:http://my.oschina.net/websec/blog/387114

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!