linux6.2(64位) 编译C++程序设置
在编译可执行程序时报
/usr/bin/ld: cannot find -lstdc++_nonshared
stdc++_nonshared
64位机器
[xxx@dbserver ~]$ echo $LD_LIBRARY_PATH
:/xxx/oracle/OracleHome/lib:/lib:/usr/lib:/xxx/oracle/OracleHome/lib:/lib:/usr/lib:/home/xxx/Run/lib:/usr/lib64:/home/xxx/Run/ACE_wrappers/lib
------解决方案--------------------是用g++编译?怀疑是不是没加extern C ...