---
title: 编译RocksDB过程中提示ld returned 1 exit status的解决方法
description: "编译RocksDB过程中提示“ld returned 1 exit status”。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengdbs/ecosystemEnable/RocksDB/openmind_rocksdb6102_stress_11_0017.html
sourcePath: /source/zh/kunpengdbs/ecosystemEnable/RocksDB/openmind_rocksdb6102_stress_11_0017.html
indexId: 8230d7a185b126f3ddbdcc9981a0f96736a1a7a735eff2f29ed3abde746f572886
---
# 编译RocksDB过程中提示ld returned 1 exit status的解决方法

#### 问题现象描述

编译RocksDB过程中提示“ld returned 1 exit status”。


#### 关键过程、根本原因分析

在测试之前执行过make release编译命令，导致冲突。


#### 结论、解决方案及效果

1. 清除上次编译时生成的相关文件。
  1 make clean

2. 再次执行编译命令。
  1 make db_stress -j 4
