yxymit / Sundial

Sundial: A distributed OLTP database testbed.
ISC License
37 stars 12 forks source link

Error while loading shared libraries: libjemalloc.so.2: #4

Open sam1016yu opened 3 years ago

sam1016yu commented 3 years ago

Hi,

I'm trying to build and run Sundial on Ubuntu 14.04, but keep getting the following error when running ./run_db after running make. I don't think I see any errors when building. Not sure where I should try to modify. BTW I've also tried sudo apt-get install -y libjemalloc-dev

./rundb: error while loading shared libraries: libjemalloc.so.2: cannot open shared object file: No such file or directory

Thanks!

xsjlmzs commented 2 years ago

I meet the same problem, and i find the file libjemalloc.so.2 is in /Sundial/libs/ But i don't know how to solve it, wating for a solution... Thanks.

TechWithOmid commented 2 years ago

I have the same problem and try to fix it, did you guys find any way?

XinyuZeng commented 2 years ago

Simply remove -ljemalloc flag in Makefile should fix the issue. -L./libs already provides a way to link jemalloc.