westerndigitalcorporation / zenfs

ZenFS is a storage backend for RocksDB that enables support for ZNS SSDs and SMR HDDs.
GNU General Public License v2.0
235 stars 86 forks source link

follow the readme guide but failed to build zenfs utils #264

Closed gaowayne closed 1 year ago

gaowayne commented 1 year ago

please check below error log.

Package 'rocksdb', required by 'virtual:world', not found
Makefile:11: *** pkg-config failed.  Stop.
[root@amd2 util]# cd ..
[root@amd2 zenfs]# cd ..
[root@amd2 plugin]# cd ..
[root@amd2 rocksdb]# pushd
-bash: pushd: no other directory
[root@amd2 rocksdb]# cd plugin/zenfs/util/
[root@amd2 util]# make
Package rocksdb was not found in the pkg-config search path.
Perhaps you should add the directory containing `rocksdb.pc'
to the PKG_CONFIG_PATH environment variable
Package 'rocksdb', required by 'virtual:world', not found
Makefile:11: *** pkg-config failed.  Stop.
[root@amd2 util]# 
yhr commented 1 year ago

@gaowayne : Did you build and install rocksdb first, before building the util?