Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference when making GekkoFS #5

Open
elham9449 opened this issue Jan 23, 2022 · 3 comments
Open

undefined reference when making GekkoFS #5

elham9449 opened this issue Jan 23, 2022 · 3 comments

Comments

@elham9449
Copy link

I have installed all GekkoFS dependencies and now, after running cmake, when I try to make, I get the following undefined reference error:

[ 66%] Linking CXX executable gkfs_daemon
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libabt.so.1, needed by /home/adibi/gekko/install/lib/libmargo.so, may conflict with libabt.so.0
backend/metadata/libmetadata_db.a(merge.cpp.o):(.rodata._ZTIN4gkfs8metadata21MetadataMergeOperatorE[_ZTIN4gkfs8metadata21MetadataMergeOperatorE]+0x10): undefined reference to `typeinfo for rocksdb::MergeOperator'
/home/adibi/gekko/install/lib/libmargo.so: undefined reference to `HG_Addr_lookup2'
/home/adibi/gekko/install/lib/libmargo.so: undefined reference to `hg_proc_checksum_update'
collect2: error: ld returned 1 exit status
make[2]: *** [src/daemon/gkfs_daemon] Error 1
make[1]: *** [src/daemon/CMakeFiles/gkfs_daemon.dir/all] Error 2
make: *** [all] Error 2

I installed margo using spack (and others using the compile_dep.sh script). Could this be the source of the problem? Or should I look elsewhere?

Thanks

@adrianjhpc
Copy link

I think these routines come from the mercury library. Can you make sure you've got that installed?

@elham9449
Copy link
Author

I think these routines come from the mercury library. Can you make sure you've got that installed?

I installed mercury using compile_dep.sh and it was successful. The only package I installed without compile_dep.sh script was margo which I downloaded using spack. Then, I copied margo contents into the installed directory of GekkoFS dependencies (margo with compile_dep.sh failed and I got lots of undefined references). Maybe if I fix that if will solve the issue?

@adrianjhpc
Copy link

adrianjhpc commented Jan 23, 2022

Where did you install mercury? Is it in the default place or somewhere else? You'll need to make sure LD_LIBRARY_PATH can find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants