Closed jwhipp closed 3 months ago
I am trying to build this on Raspbian on a Pi 2, getting this error:
Linking CXX shared library ../bin/libstorm.so /usr/bin/ld: cannot find -lbz2 collect2: ld returned 1 exit status StormLib/CMakeFiles/storm.dir/build.make:5235: recipe for target 'bin/libstorm.so.9.0.0' failed make[2]: * [bin/libstorm.so.9.0.0] Error 1 CMakeFiles/Makefile2:110: recipe for target 'StormLib/CMakeFiles/storm.dir/all' failed make[1]: * [StormLib/CMakeFiles/storm.dir/all] Error 2 Makefile:113: recipe for target 'all' failed make: *\ [all] Error 2
Any ideas on the -lbz2? Seems something is missing bzip2 perhaps but I am not sure what.
apt install -y libbz2-dev libbz2-1.0
I am trying to build this on Raspbian on a Pi 2, getting this error:
Linking CXX shared library ../bin/libstorm.so /usr/bin/ld: cannot find -lbz2 collect2: ld returned 1 exit status StormLib/CMakeFiles/storm.dir/build.make:5235: recipe for target 'bin/libstorm.so.9.0.0' failed make[2]: * [bin/libstorm.so.9.0.0] Error 1 CMakeFiles/Makefile2:110: recipe for target 'StormLib/CMakeFiles/storm.dir/all' failed make[1]: * [StormLib/CMakeFiles/storm.dir/all] Error 2 Makefile:113: recipe for target 'all' failed make: *\ [all] Error 2
Any ideas on the -lbz2? Seems something is missing bzip2 perhaps but I am not sure what.