Project

General

Profile

Bug #38950

error build with system rocksdb

Added by Alexey Shabalin about 2 years ago. Updated about 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After commit 5a71bbbe5921c26bdc24cd811d5c39efb191dbc2, can not build with system rocksdb.
Rocksdb found successful, but in build/src/os/CMakeFiles/ceph-bluestore-tool.dir/link.txt instead "/usr/lib64/librocksdb.so" i have "RocksDB::RocksDB-NOFOUND".

Fix is easy:
in cmake/modules/FindRocksDB.cmake:
- IMPORTED_LOCATION "${ROCKSDB_LIBRARY}"
+ IMPORTED_LOCATION "${ROCKSDB_LIBRARIES}"


Related issues

Duplicates RADOS - Bug #38992: unable to link rocksdb library if use system rocksdb Resolved 03/28/2019

History

#1 Updated by Alexey Shabalin about 2 years ago

Backport to nautilus, please.
https://github.com/ceph/ceph/pull/26813

#2 Updated by Nathan Cutler about 2 years ago

  • Duplicates Bug #38992: unable to link rocksdb library if use system rocksdb added

#3 Updated by Nathan Cutler about 2 years ago

  • Status changed from New to Duplicate

@Alexey: the nautilus backport you requested is going forward at #38992 - closing this as a duplicate. Let us know if you disagree.

Also available in: Atom PDF