labring / sealfs

The storage system of sealos, aims to be a high-performance, high-reliability, and auto-scaling distributed file system
Apache License 2.0
141 stars 20 forks source link

[BUG] Compilation error occurs because libverbs are missing #147

Closed LavenderQAQ closed 1 year ago

LavenderQAQ commented 1 year ago

What happened: lib is missing at compile time.

  = note: /usr/bin/ld: cannot find -libverbs
          collect2: error: ld returned 1 exit status

error: could not compile `sealfs` due to previous error

Anything else we need to know?: I manually installed libverbs and compiled successfully

sudo apt-get install libibverbs-dev

Environment:

others Do we need to add libibverbs-dev to the makefile?

/kind bug

luanshaotong commented 1 year ago

Yes, we need to add it to the Makefile.