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

error when I do "make install_timeloop" #18

Open
negishubham opened this issue May 17, 2024 · 2 comments
Open

error when I do "make install_timeloop" #18

negishubham opened this issue May 17, 2024 · 2 comments

Comments

@negishubham
Copy link

Hi,

I am following the native install steps from this link: https://timeloop.csail.mit.edu/v4/installation#to-do-need-an-install-script-for-pytimeloop . But when I do "make install_timeloop" I am getting below error:

/usr/bin/ld: cannot find -lboost_log_setup: No such file or directory
/usr/bin/ld: cannot find -lboost_filesystem: No such file or directory
/usr/bin/ld: cannot find -lboost_log: No such file or directory
/usr/bin/ld: cannot find -lboost_thread: No such file or directory
collect2: error: ld returned 1 exit status
scons: *** [build/timeloop-compound-config-test] Error 1
scons: building terminated because of errors.
make: *** [Makefile:121: install_timeloop] Error 2

Thanks!

@sgodey
Copy link

sgodey commented May 23, 2024

I am not an expert here, but I was able to build Timeloop from source. You need to have certain libraries preinstalled before installing Timeloop. Below is the list from my notes. Hope this helps.

apt-get update
apt-get install -y vim
apt-get install python3-pip
apt-get install -y libconfig++-dev
apt-get install -y libboost-dev
apt-get install -y libboost-iostreams-dev
apt-get install -y libboost-serialization-dev
apt-get install -y libyaml-cpp-dev
apt-get install -y libncurses-dev
apt-get install -y libtinfo-dev
apt-get install -y libgpm-dev
pip3 install scons --break-system-packages

@negishubham
Copy link
Author

Thanks for the reply. I do have all these packages. Looks like there is some issue with setting some path to lboost.

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