网络服务器软件开发/中间件开发,关注ACE/ICE/boost

C++博客 首页 新随笔 联系 聚合 管理
  152 Posts :: 3 Stories :: 172 Comments :: 0 Trackbacks

   makefile的部分输出:
gcc -o ./testocci test.o -lpthread -lstdc++ -ldl -L/export/home/oracle/instantclient_10_2 -locci -lclntsh
/usr/bin/ld: warning: libstdc++.so.5, needed by /export/home/oracle/instantclient_10_2/libocci.so, may conflict with libstdc++.so.6

  将makefile改为:
gcc -o ./testocci test.o -lpthread -lstdc++ -ldl -L/export/home/oracle/instantclient_10_2 -locci -lclntsh  /usr/lib/libstdc++.so.5
警告消失

posted on 2009-03-19 14:06 true 阅读(623) 评论(0)  编辑 收藏 引用 所属分类: linux

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理