Still awaiting a solution. if anyone know??
To add the library while compiling libmevent files you have to use
-export-symbols-regexp
Here is the complete command to compile them properly
cd src/leveldb
sudo chmod +x build_detect_platform
sudo make clean
sudo make -j$(nproc) libleveldb.a -export-symbols-regexp
sudo make -j$(nproc) libmemenv.a -export-symbols-regexp
cd ..