panda-re/lava

fbi install failed

Opened this issue · 1 comments

marvi3 commented

Hello,

I had some issues when setting up lava and managed to get quite far but when running python2 setup.py I am still having trouble with the fbi-install and after 3 hours of trying to fix this and nothing worked I thought to ask here for help.

It gives me the following error: [make --no-print-directory -j4 -C fbi install] cmd did not execute properly.

More precisely I get pages of error in the install fbi-section that end with the following:
collect2: error: ld returned 1 exit status fbi/src/CMakeFiles/fbi.dir/build.make:99: recipe for target 'fbi/src/fbi' failed make[2]: *** [fbi/src/fbi] Error 1 CMakeFiles/Makefile2:596: recipe for target 'fbi/src/CMakeFiles/fbi.dir/all' failed make[1]: *** [fbi/src/CMakeFiles/fbi.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

I use a clean ubuntu 16.04.07 on VirtualBox.

Best wishes,
marvi3

marvi3 commented

The issues got solved by installing the following:
sudo apt-get install libodb-pgsql-dev
sudo apt-get install libodb-dev

Another program, that I had already installed, but that can also cause this or a similar error is the following:
sudo apt-get install odb
It would be great, if there qould be a "common problems" section where this is documented, cause it took me quite long to figure this out.