- 博客(6)
- 收藏
- 关注
原创 postgresql建分区表时报错cannot specify default tablespace for partitioned relations
省流:cannot specify default tablespace for partitioned relations或者无法为分区关系指定默认表空间是pg的一个遗留bug,建分区表时需要避开
2024-05-28 11:03:08
1607
2
原创 openGauss编译报错 ‘LOCALEDIR’ was not declared in this scope解决方法
省流:别用make -j
2023-12-20 10:27:51
593
原创 LLVM报错‘_ZN6google4base21CheckOpMessageBuilder9NewStringEv‘ which could not be resolved解决方法
省流:可能是编译glog库时g++版本不对
2023-12-15 13:12:59
571
原创 linux中使用maven编译zookeeper报错Failed to execute goal,A cannot be cast to B解决方法
Centos7,zookeeper版本3.8.3,想弄到zookeeper的C库,查了一下说是要编译/zookeeper-client/zookeeper-client-c/;mvn compile报错[ERROR] Failed to execute goal org.sonatype.aether cannot be cast to org.eclipse.aether,结果是maven版本太老导致的冲突问题。
2023-10-26 15:00:24
201
原创 clang报错std里没有byteswap、llvm编译安装libc++报错解决方法
程序用到了std::byteswap,这是C++23的东西,clang17是支持的,但我在用clang编译程序的时候总是报错no member named 'byteswap' in namespace 'std',查了一下发现它默认用了我虚拟机里的gcc11,就不支持了。上网查了一下,解决方法是安装llvm的libc++(也就是llvm文件夹里libcxx前缀的那几个)。一开始百思不得其解,后来才发现它编译的时候又默认用的gcc,换成clang就一路顺风了。
2023-10-13 10:03:39
336
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人